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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001066, allocations: 100.5 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 192.1 kB / 17.34 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1982/0.1982, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001463, allocations: 67.91 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1097, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3829/0.4927, allocations: 147.6 MB / 0.6315 GB, free: 7.258 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006823/0.4996, allocations: 5.573 MB / 0.637 GB, free: 1.676 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007389/0.5003, allocations: 23.88 kB / 0.637 GB, free: 1.652 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.5015, allocations: 326 kB / 0.6373 GB, free: 1.332 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.5038, allocations: 0.855 MB / 0.6382 GB, free: 484 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.5065, allocations: 1.032 MB / 0.6392 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002433/0.509, allocations: 1.79 MB / 0.6409 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009748/0.5099, allocations: 464.8 kB / 0.6414 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.5117, allocations: 0.7591 MB / 0.6421 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.513, allocations: 0.7086 MB / 0.6428 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.5132, allocations: 60 kB / 0.6428 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.5146, allocations: 0.5419 MB / 0.6434 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003792/0.515, allocations: 263.3 kB / 0.6436 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006031/0.5156, allocations: 394.2 kB / 0.644 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.5173, allocations: 1.137 MB / 0.6451 GB, free: 9.332 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5173, allocations: 0 / 0.6451 GB, free: 9.332 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5173, allocations: 0 / 0.6451 GB, free: 9.332 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.05e-05/0.5173, allocations: 0 / 0.6451 GB, free: 9.332 MB / 494.1 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.002402/0.5198, allocations: 1.059 MB / 0.6461 GB, free: 8.227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.5198, allocations: 11.89 kB / 0.6462 GB, free: 8.215 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001542/0.52, allocations: 106.6 kB / 0.6463 GB, free: 8.102 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003847/0.5204, allocations: 96.08 kB / 0.6463 GB, free: 8.008 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008692/0.5212, allocations: 0.5365 MB / 0.6469 GB, free: 7.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.681e-05/0.5213, allocations: 101 kB / 0.647 GB, free: 7.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.611e-05/0.5214, allocations: 52.36 kB / 0.647 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.5226, allocations: 0.8188 MB / 0.6478 GB, free: 6.387 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.5227, allocations: 0 / 0.6478 GB, free: 6.387 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.036e-05/0.5227, allocations: 27.98 kB / 0.6478 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-05/0.5228, allocations: 40.92 kB / 0.6479 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.5238, allocations: 0.6479 MB / 0.6485 GB, free: 5.672 MB / 494.1 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.00427/0.5281, allocations: 3.959 MB / 0.6524 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007447/0.5289, allocations: 436 kB / 0.6528 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.5292, allocations: 197.4 kB / 0.653 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005197/0.5297, allocations: 0.7366 MB / 0.6537 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.5297, allocations: 38.89 kB / 0.6537 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 1.523e-06/0.5297, allocations: 0 / 0.6537 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003016/0.5328, allocations: 1.545 MB / 0.6553 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.5328, allocations: 140.5 kB / 0.6554 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006185/0.5335, allocations: 0.5692 MB / 0.6559 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.5335, allocations: 33.7 kB / 0.656 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.5338, allocations: 355 kB / 0.6563 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.5339, allocations: 165.7 kB / 0.6565 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.5341, allocations: 134.6 kB / 0.6566 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5342, allocations: 378.8 kB / 0.657 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.5346, allocations: 213.9 kB / 0.6572 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.5351, allocations: 0.509 MB / 0.6577 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009489/0.5361, allocations: 0.764 MB / 0.6584 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.5361, allocations: 4 kB / 0.6584 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001588/0.5377, allocations: 0.9102 MB / 0.6593 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5377, allocations: 18.62 kB / 0.6593 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.5377, allocations: 8 kB / 0.6593 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/0.5391, allocations: 288.3 kB / 0.6596 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.5395, allocations: 127.8 kB / 0.6597 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.5405, allocations: 0.8916 MB / 0.6606 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.5409, allocations: 28 kB / 0.6606 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.749e-05/0.541, allocations: 36 kB / 0.6607 GB, free: 8.328 MB / 0.4981 GB 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.0002803/0.5413, allocations: 249.4 kB / 0.6609 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.5414, allocations: 67.25 kB / 0.661 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.5426, allocations: 0.7685 MB / 0.6617 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.5426, allocations: 7.938 kB / 0.6617 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5426, allocations: 3.938 kB / 0.6617 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.5427, allocations: 3.938 kB / 0.6617 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.5445, allocations: 1.412 MB / 0.6631 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.5445, allocations: 0 / 0.6631 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.5456, allocations: 204 kB / 0.6633 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.821e-05/0.5457, allocations: 24.84 kB / 0.6633 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.5457, allocations: 11.98 kB / 0.6633 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.5477, allocations: 2.87 MB / 0.6661 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5477, allocations: 4.031 kB / 0.6661 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.549, allocations: 1.016 MB / 0.6671 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/0.5493, allocations: 208.1 kB / 0.6673 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.5495, allocations: 12.62 kB / 0.6673 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.5499, allocations: 15.98 kB / 0.6674 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/0.55, allocations: 43.67 kB / 0.6674 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.55, allocations: 23.98 kB / 0.6674 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004779/0.5505, allocations: 431 kB / 0.6678 GB, free: 480 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5505, allocations: 4.062 kB / 0.6678 GB, free: 476 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007558/0.5513, allocations: 224 kB / 0.668 GB, free: 252 kB / 0.4981 GB 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.002189/0.5535, allocations: 1.71 MB / 0.6697 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.5547, allocations: 0.5988 MB / 0.6703 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.5547, allocations: 4.562 kB / 0.6703 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.5558, allocations: 450.3 kB / 0.6707 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.5573, allocations: 372.7 kB / 0.6711 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009148/0.5665, allocations: 6.468 MB / 0.6774 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.567, allocations: 0.9424 MB / 0.6783 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006535/0.5677, allocations: 210.1 kB / 0.6785 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.568, allocations: 231.4 kB / 0.6787 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of SimCode: time 6.82e-07/0.568, allocations: 3.938 kB / 0.6788 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04776/0.6158, allocations: 22.87 MB / 0.7011 GB, free: 13.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.15, allocations: 7.891 kB / 0.7011 GB, free: 13.92 MB / 0.545 GB (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 --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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches