Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.0008004/0.0008004, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008602/0.0008602, allocations: 170.3 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8215/0.8215, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1291/0.1291, allocations: 32.37 MB / 269.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 406.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.742e-05, allocations: 5.938 kB / 406.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.244/0.244, allocations: 127.3 MB / 0.5216 GB, free: 26.05 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004647/0.2487, allocations: 5.155 MB / 0.5267 GB, free: 22.61 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005291/0.2492, allocations: 31.53 kB / 0.5267 GB, free: 22.59 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007625/0.2499, allocations: 322.3 kB / 0.527 GB, free: 22.41 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.2512, allocations: 0.9083 MB / 0.5279 GB, free: 21.88 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.2531, allocations: 1.078 MB / 0.5289 GB, free: 21.34 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.2545, allocations: 1.834 MB / 0.5307 GB, free: 20.5 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.255, allocations: 407.6 kB / 0.5311 GB, free: 20.33 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009884/0.256, allocations: 0.9856 MB / 0.5321 GB, free: 19.93 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006495/0.2566, allocations: 0.6895 MB / 0.5327 GB, free: 19.71 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.609e-05/0.2567, allocations: 62.41 kB / 0.5328 GB, free: 19.71 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006901/0.2574, allocations: 492 kB / 0.5333 GB, free: 19.57 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.2576, allocations: 284 kB / 0.5335 GB, free: 19.43 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.2578, allocations: 289.9 kB / 0.5338 GB, free: 19.32 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009676/0.2587, allocations: 1.178 MB / 0.535 GB, free: 18.92 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2587, allocations: 0 / 0.535 GB, free: 18.92 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2587, allocations: 0 / 0.535 GB, free: 18.92 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.2588, allocations: 0 / 0.535 GB, free: 18.92 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001266/0.26, allocations: 0.9885 MB / 0.5359 GB, free: 18.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2601, allocations: 13.56 kB / 0.536 GB, free: 18.27 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.656e-05/0.2601, allocations: 97.3 kB / 0.536 GB, free: 18.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.2603, allocations: 99.17 kB / 0.5361 GB, free: 18.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.2609, allocations: 488.4 kB / 0.5366 GB, free: 17.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.73e-05/0.2609, allocations: 150.9 kB / 0.5367 GB, free: 17.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.261, allocations: 51.98 kB / 0.5368 GB, free: 17.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007406/0.2617, allocations: 1.171 MB / 0.5379 GB, free: 16.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.2618, allocations: 3.953 kB / 0.5379 GB, free: 16.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.2618, allocations: 27.73 kB / 0.538 GB, free: 16.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.046e-05/0.2618, allocations: 42.36 kB / 0.538 GB, free: 16.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.2624, allocations: 0.6534 MB / 0.5387 GB, free: 16.56 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.2645, allocations: 3.15 MB / 0.5417 GB, free: 14.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.265, allocations: 407 kB / 0.5421 GB, free: 14.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.2652, allocations: 196.2 kB / 0.5423 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.2653, allocations: 57 kB / 0.5424 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.2653, allocations: 47.19 kB / 0.5424 GB, free: 13.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 1.863e-06/0.2653, allocations: 0 / 0.5424 GB, free: 13.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.001774/0.2671, allocations: 1.404 MB / 0.5438 GB, free: 13.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.2671, allocations: 139.6 kB / 0.5439 GB, free: 13.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.2675, allocations: 0.5896 MB / 0.5445 GB, free: 12.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.2675, allocations: 36.64 kB / 0.5445 GB, free: 12.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.2677, allocations: 356.6 kB / 0.5449 GB, free: 12.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/0.2677, allocations: 173.7 kB / 0.545 GB, free: 12.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.2678, allocations: 137.5 kB / 0.5452 GB, free: 12.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.2679, allocations: 375.8 kB / 0.5455 GB, free: 11.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.2681, allocations: 217.2 kB / 0.5457 GB, free: 11.87 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.2683, allocations: 0.5858 MB / 0.5463 GB, free: 11.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005048/0.2689, allocations: 0.7676 MB / 0.547 GB, free: 10.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2689, allocations: 2.188 kB / 0.547 GB, free: 10.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008526/0.2697, allocations: 0.9046 MB / 0.5479 GB, free: 10.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2697, allocations: 10.53 kB / 0.5479 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.2697, allocations: 11.91 kB / 0.5479 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000665/0.2704, allocations: 291.6 kB / 0.5482 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.2706, allocations: 127.1 kB / 0.5483 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005115/0.2711, allocations: 0.8852 MB / 0.5492 GB, free: 9.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.2714, allocations: 30.53 kB / 0.5492 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.2714, allocations: 39.14 kB / 0.5493 GB, free: 9.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001907/0.2716, allocations: 242.2 kB / 0.5495 GB, free: 9.391 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/0.2717, allocations: 74.14 kB / 0.5496 GB, free: 9.352 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007192/0.2724, allocations: 0.7001 MB / 0.5503 GB, free: 9.035 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.2724, allocations: 5.188 kB / 0.5503 GB, free: 9.035 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2724, allocations: 0 / 0.5503 GB, free: 9.035 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2724, allocations: 2.531 kB / 0.5503 GB, free: 9.035 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.2734, allocations: 1.232 MB / 0.5515 GB, free: 8.348 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.2734, allocations: 8.312 kB / 0.5515 GB, free: 8.344 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.2739, allocations: 201.9 kB / 0.5517 GB, free: 8.332 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.267e-05/0.274, allocations: 23.95 kB / 0.5517 GB, free: 8.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.274, allocations: 14.06 kB / 0.5517 GB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007607/0.2748, allocations: 2.668 MB / 0.5543 GB, free: 5.664 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2748, allocations: 2.781 kB / 0.5543 GB, free: 5.664 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007511/0.2755, allocations: 0.9456 MB / 0.5552 GB, free: 5.098 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.2757, allocations: 124.7 kB / 0.5554 GB, free: 5.012 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.2757, allocations: 12.91 kB / 0.5554 GB, free: 5.004 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.2759, allocations: 16.23 kB / 0.5554 GB, free: 4.996 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.276, allocations: 41.22 kB / 0.5554 GB, free: 4.969 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.276, allocations: 23.8 kB / 0.5555 GB, free: 4.961 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002746/0.2763, allocations: 432.4 kB / 0.5559 GB, free: 4.711 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2763, allocations: 0 / 0.5559 GB, free: 4.711 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005308/0.2768, allocations: 219.6 kB / 0.5561 GB, free: 4.676 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001197/0.278, allocations: 1.667 MB / 0.5577 GB, free: 3.457 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007216/0.2787, allocations: 0.5749 MB / 0.5583 GB, free: 3.188 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2787, allocations: 3 kB / 0.5583 GB, free: 3.188 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.2792, allocations: 444.8 kB / 0.5587 GB, free: 2.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009099/0.2801, allocations: 377.1 kB / 0.559 GB, free: 2.758 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005443/0.2856, allocations: 6.419 MB / 0.5653 GB, free: 14.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.2858, allocations: 335.8 kB / 0.5656 GB, free: 14.13 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000467/0.2862, allocations: 208.5 kB / 0.5658 GB, free: 14.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.2865, allocations: 241.1 kB / 0.5661 GB, free: 13.85 MB / 458.7 MB Notification: Performance of SimCode: time 9.31e-07/0.2865, allocations: 0 / 0.5661 GB, free: 13.85 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.3213, allocations: 24.21 MB / 0.5897 GB, free: 6.426 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.507, allocations: 3.938 kB / 0.5897 GB, free: 6.422 MB / 474.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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: 10.448907564394176]