Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 51.92 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2474, allocations: 49.16 MB / 396.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.006513/0.2539, allocations: 5.772 MB / 402.1 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004031/0.2579, allocations: 2.45 MB / 404.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004253/0.2583, allocations: 23 kB / 404.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.2609, allocations: 1.182 MB / 405.8 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.2624, allocations: 0.5492 MB / 406.3 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.2646, allocations: 1.166 MB / 407.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.2657, allocations: 1.095 MB / 408.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009527/0.2667, allocations: 0.7738 MB / 409.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004401/0.2671, allocations: 464 kB / 409.8 MB, free: 468 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005829/0.2677, allocations: 0.4948 MB / 410.3 MB, free: 236 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.2678, allocations: 102.7 kB / 410.4 MB, free: 232 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008649/0.2687, allocations: 384.8 kB / 410.8 MB, free: 140 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.2689, allocations: 242.9 kB / 411 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004504/0.2693, allocations: 438.7 kB / 411.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.2711, allocations: 1.535 MB / 413 MB, free: 14.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2711, allocations: 0 / 413 MB, free: 14.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2711, allocations: 0 / 413 MB, free: 14.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.2712, allocations: 1.125 kB / 413 MB, free: 14.69 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004356/0.2755, allocations: 1.713 MB / 414.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2756, allocations: 13.17 kB / 414.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002528/0.2758, allocations: 173.3 kB / 414.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003872/0.2797, allocations: 0.5807 MB / 415.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008351/0.2805, allocations: 447 kB / 415.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-05/0.2806, allocations: 93.11 kB / 416 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.2808, allocations: 110.6 kB / 416.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.2827, allocations: 1.073 MB / 417.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.2827, allocations: 5.547 kB / 417.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.2828, allocations: 45.09 kB / 417.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.2829, allocations: 27.62 kB / 417.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.2849, allocations: 1.022 MB / 418.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005985/0.2909, allocations: 3.144 MB / 421.4 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.2927, allocations: 0.8694 MB / 422.3 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007732/0.2935, allocations: 396.1 kB / 422.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.561e-05/0.2936, allocations: 27.77 kB / 422.7 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009315/0.2945, allocations: 0.5257 MB / 423.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 2.996e-06/0.2945, allocations: 0 / 423.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009249/0.3038, allocations: 3.684 MB / 426.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.3039, allocations: 145.5 kB / 427 MB, free: 4.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.3044, allocations: 421.7 kB / 427.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.92e-05/0.3045, allocations: 45.7 kB / 427.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003932/0.3049, allocations: 456.9 kB / 427.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/0.3053, allocations: 448.1 kB / 428.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/0.3056, allocations: 218.9 kB / 428.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002239/0.3058, allocations: 386.7 kB / 429 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007413/0.3066, allocations: 358.5 kB / 429.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009913/0.3075, allocations: 0.6339 MB / 430 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.3094, allocations: 0.9854 MB / 430.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.3094, allocations: 4 kB / 430.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002806/0.3122, allocations: 1.413 MB / 432.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.3122, allocations: 8 kB / 432.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.3123, allocations: 4 kB / 432.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009819/0.3132, allocations: 351.1 kB / 432.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009124/0.3142, allocations: 223.6 kB / 432.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009342/0.3235, allocations: 8.009 MB / 440.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.3245, allocations: 47.94 kB / 441 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/0.3247, allocations: 48 kB / 441 MB, free: 5.316 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006117/0.3253, allocations: 261.6 kB / 441.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.3255, allocations: 75.53 kB / 441.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002773/0.3282, allocations: 1.313 MB / 442.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.3283, allocations: 15.94 kB / 442.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.486e-05/0.3283, allocations: 8 kB / 442.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.3283, allocations: 11.97 kB / 442.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004784/0.3331, allocations: 2.35 MB / 445.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3331, allocations: 0 / 445.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007145/0.3338, allocations: 156.1 kB / 445.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008648/0.3347, allocations: 331.1 kB / 445.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.853e-05/0.3348, allocations: 27.94 kB / 445.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008484/0.3432, allocations: 7.628 MB / 453.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3432, allocations: 0 / 453.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003641/0.3469, allocations: 1.83 MB / 455 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004497/0.3473, allocations: 151.4 kB / 455.2 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.3475, allocations: 35.98 kB / 455.2 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006025/0.3481, allocations: 39.98 kB / 455.2 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.3483, allocations: 100.8 kB / 455.3 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.041e-05/0.3484, allocations: 35.98 kB / 455.4 MB, free: 6.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003837/0.3488, allocations: 283.1 kB / 455.7 MB, free: 6.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3488, allocations: 0 / 455.7 MB, free: 6.066 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001405/0.3502, allocations: 320 kB / 456 MB, free: 5.754 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004142/0.3543, allocations: 2.431 MB / 458.4 MB, free: 3.258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003103/0.3574, allocations: 1.577 MB / 460 MB, free: 1.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3574, allocations: 4 kB / 460 MB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001843/0.3593, allocations: 1.099 MB / 461.1 MB, free: 496 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007091/0.36, allocations: 85.52 kB / 461.2 MB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.3738, allocations: 7.516 MB / 468.7 MB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000595/0.3744, allocations: 448.4 kB / 469.1 MB, free: 8.102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005013/0.3749, allocations: 106.4 kB / 469.2 MB, free: 7.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005347/0.3754, allocations: 355.3 kB / 469.6 MB, free: 7.648 MB / 382.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3754, allocations: 0 / 469.6 MB, free: 7.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07487/0.4503, allocations: 19.67 MB / 489.2 MB, free: 3.887 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.28, allocations: 64 / 489.2 MB, free: 3.887 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.351439296267927]