Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.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: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 99.84 kB / 15.98 MB, free: 6.352 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.001702/0.001702, allocations: 193.6 kB / 16.91 MB, free: 6.191 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.682/1.682, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3567/0.3567, allocations: 43.5 MB / 313.6 MB, free: 8.504 MB / 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.001351/0.001351, allocations: 67.91 kB / 382.2 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1182, allocations: 57.79 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4193/0.5375, allocations: 150.1 MB / 0.5763 GB, free: 5.824 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.5393, allocations: 1.217 MB / 0.5775 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.5393, allocations: 0 / 0.5775 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.5397, allocations: 39.8 kB / 0.5775 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002588/0.5424, allocations: 0.7836 MB / 0.5783 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.701e-06/0.5424, allocations: 0 / 0.5783 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.5425, allocations: 51.72 kB / 0.5783 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.5426, allocations: 0 / 0.5783 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.335e-05/0.5426, allocations: 23.91 kB / 0.5783 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.5427, allocations: 15.98 kB / 0.5783 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.5428, allocations: 3.984 kB / 0.5783 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.5453, allocations: 1.7 MB / 0.58 GB, free: 2.012 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.5453, allocations: 15.92 kB / 0.58 GB, free: 1.996 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.5454, allocations: 15.94 kB / 0.58 GB, free: 1.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.5465, allocations: 0.8108 MB / 0.5808 GB, free: 1.168 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5465, allocations: 0 / 0.5808 GB, free: 1.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5465, allocations: 0.5625 kB / 0.5808 GB, free: 1.168 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.5465, allocations: 0 / 0.5808 GB, free: 1.168 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007688/0.5473, allocations: 464.3 kB / 0.5813 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.5474, allocations: 11.89 kB / 0.5813 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.5474, allocations: 9.719 kB / 0.5813 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.5475, allocations: 172.2 kB / 0.5815 GB, free: 456 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.5476, allocations: 17.23 kB / 0.5815 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.5476, allocations: 0 / 0.5815 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.5478, allocations: 61.69 kB / 0.5815 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.5478, allocations: 0 / 0.5815 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.5478, allocations: 7.984 kB / 0.5815 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/0.5478, allocations: 7.984 kB / 0.5816 GB, free: 356 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.5479, allocations: 55.84 kB / 0.5816 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.5483, allocations: 293.4 kB / 0.5819 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.765e-05/0.5484, allocations: 34.61 kB / 0.5819 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.5485, allocations: 16.91 kB / 0.5819 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.5486, allocations: 95.8 kB / 0.582 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.5486, allocations: 35.06 kB / 0.5821 GB, free: 15.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.5486, allocations: 0 / 0.5821 GB, free: 15.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001743/0.5488, allocations: 57.53 kB / 0.5821 GB, free: 15.68 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.5489, allocations: 55.41 kB / 0.5822 GB, free: 15.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.915e-05/0.5489, allocations: 93.86 kB / 0.5823 GB, free: 15.51 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.549, allocations: 25.7 kB / 0.5823 GB, free: 15.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.549, allocations: 103.9 kB / 0.5824 GB, free: 15.38 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.549, allocations: 7.844 kB / 0.5824 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.5491, allocations: 17.72 kB / 0.5824 GB, free: 15.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5492, allocations: 322.8 kB / 0.5827 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.5492, allocations: 8 kB / 0.5827 GB, free: 15.01 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.754e-05/0.5493, allocations: 31.98 kB / 0.5827 GB, free: 14.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.228e-05/0.5493, allocations: 47.38 kB / 0.5828 GB, free: 14.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5493, allocations: 0 / 0.5828 GB, free: 14.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.777e-05/0.5494, allocations: 65.61 kB / 0.5829 GB, free: 14.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5494, allocations: 8 kB / 0.5829 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5495, allocations: 0.5 kB / 0.5829 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5495, allocations: 3.938 kB / 0.5829 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.033e-05/0.5496, allocations: 12 kB / 0.5829 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.5496, allocations: 3.938 kB / 0.5829 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.427e-05/0.5496, allocations: 8.844 kB / 0.5829 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.5496, allocations: 8.094 kB / 0.5829 GB, free: 14.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.113e-05/0.5497, allocations: 117.8 kB / 0.583 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.5497, allocations: 0 / 0.583 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.5499, allocations: 63.09 kB / 0.5831 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5499, allocations: 0 / 0.5831 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5499, allocations: 0 / 0.5831 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5499, allocations: 4.453 kB / 0.5831 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.5501, allocations: 161.7 kB / 0.5832 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5501, allocations: 4.469 kB / 0.5832 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.5501, allocations: 7.938 kB / 0.5832 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.5501, allocations: 7.938 kB / 0.5832 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.5501, allocations: 3.938 kB / 0.5833 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5501, allocations: 0.8125 kB / 0.5833 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5502, allocations: 0 / 0.5833 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.5503, allocations: 143.5 kB / 0.5834 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.5503, allocations: 85.02 kB / 0.5835 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.5503, allocations: 11.92 kB / 0.5835 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.492e-05/0.5504, allocations: 0 / 0.5835 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.5504, allocations: 0 / 0.5835 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.5504, allocations: 7.125 kB / 0.5835 GB, free: 14.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.577e-05/0.5505, allocations: 79.28 kB / 0.5836 GB, free: 14.03 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5505, allocations: 0 / 0.5836 GB, free: 14.03 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003855/0.5509, allocations: 91.92 kB / 0.5837 GB, free: 13.94 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006247/0.5515, allocations: 266.9 kB / 0.5839 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.5516, allocations: 23.98 kB / 0.5839 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5516, allocations: 0 / 0.5839 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/0.5516, allocations: 15.92 kB / 0.5839 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.5519, allocations: 4 kB / 0.584 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.5522, allocations: 151.3 kB / 0.5841 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.5525, allocations: 0.6807 MB / 0.5848 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.906e-05/0.5526, allocations: 5.719 kB / 0.5848 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.5526, allocations: 15.44 kB / 0.5848 GB, free: 12.74 MB / 462.1 MB Notification: Performance of SimCode: time 1.723e-06/0.5526, allocations: 0 / 0.5848 GB, free: 12.74 MB / 462.1 MB Notification: Performance of Templates: time 0.00535/0.558, allocations: 2.666 MB / 0.5874 GB, free: 10.09 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches