Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.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: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 176.2 kB / 16.58 MB, free: 6.062 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.787/1.787, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.4181/0.4181, allocations: 43.57 MB / 314.6 MB, free: 8.75 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.0005417/0.0005417, allocations: 16 kB / 384 MB, free: 8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1444, allocations: 58.86 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4432/0.5877, allocations: 123.2 MB / 0.5528 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005279/0.593, allocations: 4.356 MB / 0.557 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.5932, allocations: 1.688 kB / 0.557 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.5936, allocations: 48.69 kB / 0.5571 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.5953, allocations: 0.5925 MB / 0.5577 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.5958, allocations: 145.7 kB / 0.5578 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005592/0.5963, allocations: 398.1 kB / 0.5582 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.377e-05/0.5964, allocations: 13.69 kB / 0.5582 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.5966, allocations: 151.4 kB / 0.5583 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.5969, allocations: 191.4 kB / 0.5585 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.597, allocations: 4 kB / 0.5585 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.5983, allocations: 0.5966 MB / 0.5591 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.605e-05/0.5984, allocations: 43.81 kB / 0.5592 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.5985, allocations: 61.58 kB / 0.5592 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004715/0.599, allocations: 301.7 kB / 0.5595 GB, free: 9.426 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.599, allocations: 0 / 0.5595 GB, free: 9.426 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.599, allocations: 3.938 kB / 0.5595 GB, free: 9.422 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.599, allocations: 0 / 0.5595 GB, free: 9.422 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001038/0.6001, allocations: 0.538 MB / 0.56 GB, free: 8.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.6001, allocations: 15.97 kB / 0.56 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.6003, allocations: 31.66 kB / 0.5601 GB, free: 8.793 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.6005, allocations: 218.8 kB / 0.5603 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.6007, allocations: 123.4 kB / 0.5604 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.6007, allocations: 20 kB / 0.5604 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.6012, allocations: 326.8 kB / 0.5607 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.6013, allocations: 2.75 kB / 0.5607 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.6013, allocations: 8 kB / 0.5607 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.85e-05/0.6013, allocations: 11.98 kB / 0.5608 GB, free: 8.012 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007703/0.6021, allocations: 0.743 MB / 0.5615 GB, free: 7.27 MB / 430.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.001249/0.6034, allocations: 1.228 MB / 0.5627 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.6038, allocations: 167.8 kB / 0.5628 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.6039, allocations: 93.41 kB / 0.5629 GB, free: 5.664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002328/0.6062, allocations: 2.688 MB / 0.5656 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.6063, allocations: 42.45 kB / 0.5656 GB, free: 2.414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 2.023e-06/0.6063, allocations: 3.938 kB / 0.5656 GB, free: 2.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006396/0.6069, allocations: 214.7 kB / 0.5658 GB, free: 2.195 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.607, allocations: 59.39 kB / 0.5659 GB, free: 2.125 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.6072, allocations: 206.9 kB / 0.5661 GB, free: 1.914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.6072, allocations: 33.7 kB / 0.5661 GB, free: 1.875 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.6074, allocations: 210.7 kB / 0.5663 GB, free: 1.664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.6074, allocations: 55.33 kB / 0.5663 GB, free: 1.609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.6075, allocations: 12 kB / 0.5664 GB, free: 1.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6076, allocations: 330.8 kB / 0.5667 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.953e-05/0.6077, allocations: 44.84 kB / 0.5667 GB, free: 1.223 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.6079, allocations: 324 kB / 0.567 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.6081, allocations: 103.9 kB / 0.5671 GB, free: 0.668 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6081, allocations: 4 kB / 0.5671 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005075/0.6086, allocations: 373 kB / 0.5675 GB, free: 300 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.6087, allocations: 11.95 kB / 0.5675 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.6087, allocations: 8 kB / 0.5675 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.6087, allocations: 16.81 kB / 0.5675 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.609, allocations: 111.8 kB / 0.5676 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/0.6091, allocations: 23.88 kB / 0.5676 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.6093, allocations: 27.88 kB / 0.5677 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.6093, allocations: 28.75 kB / 0.5677 GB, free: 72 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.6095, allocations: 153.6 kB / 0.5678 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.6095, allocations: 23.72 kB / 0.5679 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.6098, allocations: 167.9 kB / 0.568 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.6098, allocations: 0 / 0.568 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6098, allocations: 0 / 0.568 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.6099, allocations: 4 kB / 0.568 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004947/0.6104, allocations: 433 kB / 0.5684 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.6104, allocations: 4.641 kB / 0.5685 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.6105, allocations: 27.98 kB / 0.5685 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.6105, allocations: 0 / 0.5685 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.6106, allocations: 11.98 kB / 0.5685 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.6106, allocations: 4.547 kB / 0.5685 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6106, allocations: 0 / 0.5685 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.6108, allocations: 221.8 kB / 0.5687 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.6109, allocations: 108.9 kB / 0.5688 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.611, allocations: 7.984 kB / 0.5688 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.6112, allocations: 8.625 kB / 0.5688 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.6112, allocations: 11.98 kB / 0.5688 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.6112, allocations: 7.984 kB / 0.5688 GB, free: 14.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.6114, allocations: 148.5 kB / 0.569 GB, free: 14.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6114, allocations: 0 / 0.569 GB, free: 14.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004986/0.6119, allocations: 95.98 kB / 0.5691 GB, free: 14.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002562/0.6121, allocations: 143.1 kB / 0.5692 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003398/0.6125, allocations: 179.4 kB / 0.5694 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6125, allocations: 4.125 kB / 0.5694 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.086e-05/0.6126, allocations: 39.92 kB / 0.5694 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.613, allocations: 36.95 kB / 0.5695 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.6141, allocations: 0.5884 MB / 0.57 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.6144, allocations: 0.7287 MB / 0.5707 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000265/0.6147, allocations: 62.86 kB / 0.5708 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.6148, allocations: 27.44 kB / 0.5708 GB, free: 12.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.6148, allocations: 0 / 0.5708 GB, free: 12.7 MB / 446.1 MB Notification: Performance of Templates: time 0.006578/0.6213, allocations: 2.894 MB / 0.5737 GB, free: 9.84 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches