Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008716/0.0008716, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009007/0.0009007, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8937/0.8937, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 34.23 MB / 294.8 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.374e-05, allocations: 2.281 kB / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3445/0.3446, allocations: 168.6 MB / 0.5965 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006447/0.351, allocations: 6.821 MB / 0.6031 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003787/0.3514, allocations: 27.75 kB / 0.6032 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009198/0.3523, allocations: 429.3 kB / 0.6036 GB, free: 496 kB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.3565, allocations: 2.451 MB / 0.606 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004176/0.3606, allocations: 2.411 MB / 0.6083 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002107/0.3627, allocations: 2.231 MB / 0.6105 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005359/0.3633, allocations: 0.5172 MB / 0.611 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002857/0.3661, allocations: 2.146 MB / 0.6131 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008553/0.367, allocations: 0.8494 MB / 0.6139 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.3671, allocations: 92 kB / 0.614 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00582/0.3729, allocations: 4.299 MB / 0.6182 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003267/0.3732, allocations: 466.8 kB / 0.6187 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003093/0.3736, allocations: 399.2 kB / 0.619 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004113/0.3777, allocations: 4.11 MB / 0.6231 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3777, allocations: 0 / 0.6231 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3777, allocations: 4 kB / 0.6231 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.3777, allocations: 0 / 0.6231 GB, free: 12.47 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002699/0.3804, allocations: 1.689 MB / 0.6247 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.3804, allocations: 8.031 kB / 0.6247 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001287/0.3806, allocations: 126.5 kB / 0.6248 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.3808, allocations: 130.6 kB / 0.625 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007438/0.3816, allocations: 0.5441 MB / 0.6255 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.3817, allocations: 176.8 kB / 0.6257 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.728e-05/0.3818, allocations: 67.98 kB / 0.6257 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.3832, allocations: 1.557 MB / 0.6273 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.3832, allocations: 7.938 kB / 0.6273 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.455e-05/0.3833, allocations: 31.98 kB / 0.6273 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-05/0.3834, allocations: 61.95 kB / 0.6273 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.3846, allocations: 1.155 MB / 0.6285 GB, free: 6.676 MB / 0.5261 GB 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.003927/0.3885, allocations: 3.803 MB / 0.6322 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.3895, allocations: 0.7899 MB / 0.633 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/0.3899, allocations: 402.6 kB / 0.6333 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003606/0.3903, allocations: 216.5 kB / 0.6336 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.3903, allocations: 43.22 kB / 0.6336 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 1.874e-06/0.3903, allocations: 0 / 0.6336 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.2054/0.5957, allocations: 3.935 MB / 0.6374 GB, free: 165.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.5957, allocations: 116.1 kB / 0.6375 GB, free: 164.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/0.5963, allocations: 0.6777 MB / 0.6382 GB, free: 164.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/0.5963, allocations: 46.78 kB / 0.6383 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.5965, allocations: 390.2 kB / 0.6386 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.5966, allocations: 295.6 kB / 0.6389 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.5968, allocations: 198.3 kB / 0.6391 GB, free: 164 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.214e-05/0.5968, allocations: 390 kB / 0.6395 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/0.5974, allocations: 498.2 kB / 0.6399 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/0.598, allocations: 0.8096 MB / 0.6407 GB, free: 163 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.5991, allocations: 1.277 MB / 0.642 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.259e-06/0.5991, allocations: 2.906 kB / 0.642 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00176/0.6009, allocations: 1.663 MB / 0.6436 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6009, allocations: 14.69 kB / 0.6436 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.6009, allocations: 8.875 kB / 0.6436 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003136/0.604, allocations: 1.31 MB / 0.6449 GB, free: 161.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.6043, allocations: 152.9 kB / 0.6451 GB, free: 161.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.6057, allocations: 1.529 MB / 0.6465 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/0.6061, allocations: 51.44 kB / 0.6466 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/0.6061, allocations: 57.66 kB / 0.6467 GB, free: 160.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0002691/0.6064, allocations: 295.9 kB / 0.6469 GB, free: 160.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.6065, allocations: 89.05 kB / 0.647 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.6083, allocations: 1.681 MB / 0.6487 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.6083, allocations: 13.38 kB / 0.6487 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6083, allocations: 0.5 kB / 0.6487 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6083, allocations: 3.422 kB / 0.6487 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.6105, allocations: 2.378 MB / 0.651 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.6105, allocations: 3.156 kB / 0.651 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.6111, allocations: 253.7 kB / 0.6512 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007586/0.6119, allocations: 383.1 kB / 0.6516 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.6119, allocations: 32.66 kB / 0.6516 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.613, allocations: 2.239 MB / 0.6538 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.613, allocations: 6.469 kB / 0.6538 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.615, allocations: 2.033 MB / 0.6558 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/0.6153, allocations: 226.4 kB / 0.656 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/0.6153, allocations: 22.39 kB / 0.6561 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.6157, allocations: 51.16 kB / 0.6561 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.651e-05/0.6158, allocations: 64.97 kB / 0.6562 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/0.6158, allocations: 45.39 kB / 0.6562 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003421/0.6162, allocations: 0.4938 MB / 0.6567 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.6162, allocations: 3.281 kB / 0.6567 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001328/0.6175, allocations: 0.699 MB / 0.6574 GB, free: 155.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (82): * Single equations (assignments): 78 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003097/0.6206, allocations: 3.341 MB / 0.6606 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.622, allocations: 1.187 MB / 0.6618 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.622, allocations: 0 / 0.6618 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008695/0.6228, allocations: 0.6995 MB / 0.6625 GB, free: 153 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.6241, allocations: 0.5152 MB / 0.663 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.6343, allocations: 9.616 MB / 0.6724 GB, free: 148 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.6347, allocations: 455.3 kB / 0.6728 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007703/0.6354, allocations: 363.4 kB / 0.6732 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.6358, allocations: 337.1 kB / 0.6735 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.353e-06/0.6358, allocations: 0 / 0.6735 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05584/0.6916, allocations: 45.18 MB / 0.7176 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.744/9.436, allocations: 4.062 kB / 0.7176 GB, free: 118.9 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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: 11.723602436482906]