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.00115/0.00115, allocations: 100.7 kB / 16.93 MB, free: 5.805 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.001234/0.001234, allocations: 187.3 kB / 17.86 MB, free: 5.176 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.392/1.392, allocations: 205.1 MB / 223.7 MB, free: 12.31 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.1995/0.1995, allocations: 43.53 MB / 314.6 MB, free: 0.5312 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.001642/0.001642, allocations: 65.81 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08723/0.08888, allocations: 57.78 MB / 441.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.37/0.4589, allocations: 136.1 MB / 0.5638 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005041/0.464, allocations: 4.727 MB / 0.5684 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.4642, allocations: 1.438 kB / 0.5684 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004362/0.4647, allocations: 60.75 kB / 0.5684 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.467, allocations: 0.7244 MB / 0.5692 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.4675, allocations: 158.7 kB / 0.5693 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005737/0.4681, allocations: 375.5 kB / 0.5697 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.034e-05/0.4682, allocations: 12.88 kB / 0.5697 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.4684, allocations: 157 kB / 0.5698 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.4687, allocations: 186.5 kB / 0.57 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.4687, allocations: 10.22 kB / 0.57 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.4701, allocations: 0.6838 MB / 0.5707 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.206e-05/0.4703, allocations: 50.45 kB / 0.5707 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.4704, allocations: 104.4 kB / 0.5708 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007659/0.4712, allocations: 455.4 kB / 0.5713 GB, free: 12.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.4712, allocations: 0 / 0.5713 GB, free: 12.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4712, allocations: 3.938 kB / 0.5713 GB, free: 12.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.4712, allocations: 0 / 0.5713 GB, free: 12.85 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.001113/0.4723, allocations: 0.602 MB / 0.5719 GB, free: 12.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.4724, allocations: 13.98 kB / 0.5719 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.4725, allocations: 27.69 kB / 0.5719 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.4728, allocations: 223.5 kB / 0.5721 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.4729, allocations: 123.5 kB / 0.5722 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.473, allocations: 22.28 kB / 0.5722 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.4734, allocations: 329.5 kB / 0.5726 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4735, allocations: 0 / 0.5726 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.4735, allocations: 12.25 kB / 0.5726 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.4735, allocations: 8.188 kB / 0.5726 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000684/0.4742, allocations: 0.7397 MB / 0.5733 GB, free: 11.95 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.001284/0.4755, allocations: 1.22 MB / 0.5745 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.4759, allocations: 182.9 kB / 0.5747 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.4761, allocations: 86.67 kB / 0.5748 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002352/0.4784, allocations: 2.702 MB / 0.5774 GB, free: 8.188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.4785, allocations: 36.78 kB / 0.5774 GB, free: 8.145 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.4785, allocations: 0 / 0.5774 GB, free: 8.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006516/0.4791, allocations: 214.4 kB / 0.5776 GB, free: 8.074 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.4792, allocations: 61.88 kB / 0.5777 GB, free: 8.004 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.4794, allocations: 220.7 kB / 0.5779 GB, free: 7.887 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.4794, allocations: 32.05 kB / 0.5779 GB, free: 7.855 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.4795, allocations: 210.3 kB / 0.5781 GB, free: 7.684 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.4796, allocations: 50.91 kB / 0.5782 GB, free: 7.656 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.877e-05/0.4797, allocations: 86.86 kB / 0.5783 GB, free: 7.633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4798, allocations: 330.5 kB / 0.5786 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.4799, allocations: 51.14 kB / 0.5786 GB, free: 7.316 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.4802, allocations: 330.5 kB / 0.5789 GB, free: 6.945 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.4806, allocations: 430.5 kB / 0.5794 GB, free: 6.535 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4806, allocations: 7.25 kB / 0.5794 GB, free: 6.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005464/0.4811, allocations: 378.5 kB / 0.5797 GB, free: 6.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.4812, allocations: 9.312 kB / 0.5797 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.4812, allocations: 14.38 kB / 0.5797 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/0.4812, allocations: 12.25 kB / 0.5798 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.4816, allocations: 113.2 kB / 0.5799 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.233e-05/0.4816, allocations: 19.19 kB / 0.5799 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.4818, allocations: 17.19 kB / 0.5799 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.4819, allocations: 31.66 kB / 0.5799 GB, free: 6.41 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.000135/0.482, allocations: 151.8 kB / 0.5801 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.4821, allocations: 20.56 kB / 0.5801 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.4824, allocations: 151.2 kB / 0.5802 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.4824, allocations: 9.438 kB / 0.5802 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4824, allocations: 0 / 0.5802 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4824, allocations: 0 / 0.5802 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005194/0.4829, allocations: 448.7 kB / 0.5807 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.483, allocations: 10.23 kB / 0.5807 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.4831, allocations: 29.39 kB / 0.5807 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4831, allocations: 2.094 kB / 0.5807 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.4832, allocations: 5.906 kB / 0.5807 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4832, allocations: 0 / 0.5807 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4832, allocations: 2 kB / 0.5807 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.4834, allocations: 219 kB / 0.5809 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.4835, allocations: 102 kB / 0.581 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.4836, allocations: 13.19 kB / 0.581 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.4838, allocations: 10.86 kB / 0.581 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.4838, allocations: 10.94 kB / 0.5811 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.4838, allocations: 14.88 kB / 0.5811 GB, free: 5.594 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.4839, allocations: 148.3 kB / 0.5812 GB, free: 5.516 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.484, allocations: 2.094 kB / 0.5812 GB, free: 5.516 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004937/0.4845, allocations: 91.45 kB / 0.5813 GB, free: 5.512 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.0003545/0.4848, allocations: 152.8 kB / 0.5815 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.4851, allocations: 185.8 kB / 0.5816 GB, free: 5.379 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4851, allocations: 2 kB / 0.5816 GB, free: 5.379 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.04e-05/0.4852, allocations: 34.78 kB / 0.5817 GB, free: 5.375 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.4856, allocations: 58.3 kB / 0.5817 GB, free: 5.359 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008421/0.4865, allocations: 0.5136 MB / 0.5822 GB, free: 5.074 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.4868, allocations: 0.7289 MB / 0.5829 GB, free: 4.375 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.4869, allocations: 33.62 kB / 0.583 GB, free: 4.367 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4869, allocations: 2 kB / 0.583 GB, free: 4.367 MB / 430.1 MB Notification: Performance of Templates: time 0.005275/0.4922, allocations: 3.255 MB / 0.5861 GB, free: 2.801 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches