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.001583/0.001583, allocations: 106.3 kB / 16.64 MB, free: 6.812 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.001847/0.001847, allocations: 190.5 kB / 17.56 MB, free: 5.922 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.407/1.407, allocations: 205.1 MB / 223.4 MB, free: 12.32 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.2033/0.2033, allocations: 43.51 MB / 314.3 MB, free: 0.6875 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.002539/0.002539, allocations: 64.47 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1056, allocations: 57.79 MB / 440.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3309/0.4366, allocations: 134.2 MB / 0.5614 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004371/0.441, allocations: 4.697 MB / 0.566 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.4412, allocations: 0 / 0.566 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.4416, allocations: 51.36 kB / 0.566 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002129/0.4438, allocations: 0.6694 MB / 0.5667 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.4442, allocations: 156.3 kB / 0.5668 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005405/0.4447, allocations: 372.1 kB / 0.5672 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.197e-05/0.4448, allocations: 14.12 kB / 0.5672 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.4451, allocations: 159.6 kB / 0.5673 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.4454, allocations: 197.5 kB / 0.5675 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.4454, allocations: 8.969 kB / 0.5675 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.4467, allocations: 0.6934 MB / 0.5682 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.493e-05/0.4468, allocations: 49.69 kB / 0.5683 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.4469, allocations: 115.1 kB / 0.5684 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.4473, allocations: 320.9 kB / 0.5687 GB, free: 12.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4473, allocations: 0 / 0.5687 GB, free: 12.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4473, allocations: 4 kB / 0.5687 GB, free: 12.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.4474, allocations: 0 / 0.5687 GB, free: 12.2 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.0009924/0.4483, allocations: 0.5964 MB / 0.5693 GB, free: 11.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4484, allocations: 14.05 kB / 0.5693 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.4486, allocations: 30.58 kB / 0.5693 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.4488, allocations: 222.9 kB / 0.5695 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.4489, allocations: 125.2 kB / 0.5696 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.449, allocations: 23.08 kB / 0.5697 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.4494, allocations: 328.9 kB / 0.57 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4495, allocations: 0 / 0.57 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.4495, allocations: 15.12 kB / 0.57 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.4495, allocations: 7.406 kB / 0.57 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000648/0.4502, allocations: 0.7437 MB / 0.5707 GB, free: 11.3 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.001189/0.4514, allocations: 1.224 MB / 0.5719 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.4517, allocations: 166.6 kB / 0.5721 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.4519, allocations: 92.23 kB / 0.5722 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002163/0.454, allocations: 2.703 MB / 0.5748 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.4541, allocations: 36.06 kB / 0.5748 GB, free: 7.496 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.4541, allocations: 1.203 kB / 0.5748 GB, free: 7.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005719/0.4546, allocations: 213 kB / 0.575 GB, free: 7.426 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.4547, allocations: 57.69 kB / 0.5751 GB, free: 7.359 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.4549, allocations: 215.9 kB / 0.5753 GB, free: 7.246 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.4549, allocations: 27.8 kB / 0.5753 GB, free: 7.215 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.455, allocations: 220.5 kB / 0.5755 GB, free: 7.039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.4551, allocations: 50.69 kB / 0.5756 GB, free: 7.012 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.643e-05/0.4552, allocations: 85.33 kB / 0.5757 GB, free: 6.988 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4553, allocations: 325.1 kB / 0.576 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.683e-05/0.4554, allocations: 51.03 kB / 0.576 GB, free: 6.676 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.4556, allocations: 331.9 kB / 0.5763 GB, free: 6.305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.456, allocations: 439.2 kB / 0.5768 GB, free: 5.891 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.456, allocations: 2.75 kB / 0.5768 GB, free: 5.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004881/0.4565, allocations: 377.4 kB / 0.5771 GB, free: 5.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.4566, allocations: 9.781 kB / 0.5771 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.4566, allocations: 10.03 kB / 0.5771 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.4566, allocations: 12.56 kB / 0.5772 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.4569, allocations: 113.7 kB / 0.5773 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.457, allocations: 19.55 kB / 0.5773 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.4572, allocations: 20.62 kB / 0.5773 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.4572, allocations: 30.88 kB / 0.5773 GB, free: 5.762 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.4574, allocations: 158.3 kB / 0.5775 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.4574, allocations: 22 kB / 0.5775 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.4577, allocations: 147.7 kB / 0.5776 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.4577, allocations: 6.031 kB / 0.5777 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4577, allocations: 2.406 kB / 0.5777 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4577, allocations: 0.9375 kB / 0.5777 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000508/0.4583, allocations: 444.4 kB / 0.5781 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4583, allocations: 3.938 kB / 0.5781 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.4584, allocations: 32.33 kB / 0.5781 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4584, allocations: 2.75 kB / 0.5781 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4584, allocations: 3.688 kB / 0.5781 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4585, allocations: 4.281 kB / 0.5781 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4585, allocations: 0 / 0.5781 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.4587, allocations: 222.8 kB / 0.5783 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.129e-05/0.4588, allocations: 111.3 kB / 0.5784 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.4588, allocations: 0 / 0.5784 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.459, allocations: 11.23 kB / 0.5785 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.4591, allocations: 9.953 kB / 0.5785 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.4591, allocations: 10.44 kB / 0.5785 GB, free: 4.957 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.4592, allocations: 148.8 kB / 0.5786 GB, free: 4.879 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4592, allocations: 0 / 0.5786 GB, free: 4.879 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000482/0.4597, allocations: 92.19 kB / 0.5787 GB, free: 4.875 MB / 430.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 (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.000363/0.4601, allocations: 169.8 kB / 0.5789 GB, free: 4.762 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003031/0.4604, allocations: 184.8 kB / 0.579 GB, free: 4.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4604, allocations: 256 / 0.579 GB, free: 4.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.076e-05/0.4604, allocations: 44.48 kB / 0.5791 GB, free: 4.719 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.4609, allocations: 51.36 kB / 0.5791 GB, free: 4.707 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008908/0.4618, allocations: 0.5829 MB / 0.5797 GB, free: 4.359 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.4621, allocations: 0.735 MB / 0.5804 GB, free: 3.656 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.4621, allocations: 30.31 kB / 0.5805 GB, free: 3.648 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4622, allocations: 0 / 0.5805 GB, free: 3.648 MB / 430.1 MB Notification: Performance of Templates: time 0.004885/0.467, allocations: 3.263 MB / 0.5836 GB, free: 2.426 MB / 430.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/jenkins1/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