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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008837/0.0008837, allocations: 112 kB / 269.9 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3083/0.3083, allocations: 43.49 MB / 360.7 MB, free: 51.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 51.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1065, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3165/0.423, allocations: 134 MB / 0.6065 GB, free: 6.293 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005008/0.428, allocations: 4.757 MB / 0.6111 GB, free: 2.844 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.658e-05/0.4282, allocations: 1.562 kB / 0.6111 GB, free: 2.844 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.4285, allocations: 57.7 kB / 0.6112 GB, free: 2.797 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.4302, allocations: 0.6617 MB / 0.6118 GB, free: 2.289 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.4305, allocations: 152.2 kB / 0.612 GB, free: 2.199 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006217/0.4312, allocations: 454.6 kB / 0.6124 GB, free: 1.957 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.834e-05/0.4312, allocations: 10.69 kB / 0.6124 GB, free: 1.957 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.4315, allocations: 157.6 kB / 0.6126 GB, free: 1.883 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.4317, allocations: 192 kB / 0.6128 GB, free: 1.793 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.4318, allocations: 7.719 kB / 0.6128 GB, free: 1.793 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.4329, allocations: 0.7086 MB / 0.6135 GB, free: 1.441 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.601e-05/0.433, allocations: 48.22 kB / 0.6135 GB, free: 1.406 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.4331, allocations: 113.9 kB / 0.6136 GB, free: 1.344 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006884/0.4338, allocations: 462.2 kB / 0.6141 GB, free: 1.102 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4338, allocations: 4 kB / 0.6141 GB, free: 1.098 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4339, allocations: 0 / 0.6141 GB, free: 1.098 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.4339, allocations: 0 / 0.6141 GB, free: 1.098 MB / 426.7 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.001025/0.4349, allocations: 0.5953 MB / 0.6146 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.4349, allocations: 11.53 kB / 0.6147 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.4351, allocations: 27.56 kB / 0.6147 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.4353, allocations: 221.9 kB / 0.6149 GB, free: 328 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.4355, allocations: 124.1 kB / 0.615 GB, free: 192 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.4355, allocations: 17.59 kB / 0.615 GB, free: 188 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.436, allocations: 336.7 kB / 0.6154 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.436, allocations: 1.344 kB / 0.6154 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.436, allocations: 7.094 kB / 0.6154 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.4361, allocations: 8.406 kB / 0.6154 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007402/0.4368, allocations: 0.7434 MB / 0.6161 GB, free: 15.61 MB / 442.7 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.001233/0.4381, allocations: 1.225 MB / 0.6173 GB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.4384, allocations: 172.3 kB / 0.6175 GB, free: 14.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.4386, allocations: 94.2 kB / 0.6175 GB, free: 14.28 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002188/0.4408, allocations: 2.704 MB / 0.6202 GB, free: 11.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.4408, allocations: 30.56 kB / 0.6202 GB, free: 11.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.4408, allocations: 0 / 0.6202 GB, free: 11.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005716/0.4414, allocations: 216 kB / 0.6204 GB, free: 11.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.4414, allocations: 58.25 kB / 0.6205 GB, free: 11.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.4416, allocations: 216.6 kB / 0.6207 GB, free: 10.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.4416, allocations: 32.23 kB / 0.6207 GB, free: 10.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.4418, allocations: 214 kB / 0.6209 GB, free: 10.63 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.4418, allocations: 50.84 kB / 0.621 GB, free: 10.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.4419, allocations: 82.52 kB / 0.621 GB, free: 10.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.442, allocations: 329.4 kB / 0.6214 GB, free: 10.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-05/0.4421, allocations: 47.25 kB / 0.6214 GB, free: 10.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.4424, allocations: 332.2 kB / 0.6217 GB, free: 9.781 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.4427, allocations: 434.4 kB / 0.6221 GB, free: 9.305 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.4428, allocations: 6.375 kB / 0.6221 GB, free: 9.301 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004865/0.4432, allocations: 381 kB / 0.6225 GB, free: 9.102 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4433, allocations: 13.31 kB / 0.6225 GB, free: 9.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4433, allocations: 10.16 kB / 0.6225 GB, free: 9.098 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.4433, allocations: 13.03 kB / 0.6225 GB, free: 9.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.4436, allocations: 113.2 kB / 0.6226 GB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/0.4437, allocations: 22.72 kB / 0.6227 GB, free: 9.059 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.4439, allocations: 24.45 kB / 0.6227 GB, free: 9.047 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.4439, allocations: 26.72 kB / 0.6227 GB, free: 9.043 MB / 442.7 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.0001101/0.444, allocations: 152.2 kB / 0.6229 GB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.4441, allocations: 24.72 kB / 0.6229 GB, free: 8.887 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.4443, allocations: 143.3 kB / 0.623 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.4444, allocations: 6.344 kB / 0.623 GB, free: 8.785 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4444, allocations: 0 / 0.623 GB, free: 8.785 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4444, allocations: 0 / 0.623 GB, free: 8.785 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.4449, allocations: 451.4 kB / 0.6235 GB, free: 8.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4449, allocations: 0 / 0.6235 GB, free: 8.367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.445, allocations: 34.5 kB / 0.6235 GB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/0.445, allocations: 2.281 kB / 0.6235 GB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.4451, allocations: 6.688 kB / 0.6235 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4451, allocations: 0 / 0.6235 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4451, allocations: 1.812 kB / 0.6235 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.4456, allocations: 0.8074 MB / 0.6243 GB, free: 7.555 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.73e-05/0.4457, allocations: 110.8 kB / 0.6244 GB, free: 7.438 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.4457, allocations: 3.375 kB / 0.6244 GB, free: 7.438 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.4459, allocations: 12.3 kB / 0.6244 GB, free: 7.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.4459, allocations: 7.156 kB / 0.6244 GB, free: 7.426 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.4459, allocations: 11.39 kB / 0.6244 GB, free: 7.422 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.446, allocations: 155.8 kB / 0.6246 GB, free: 7.305 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.446, allocations: 0 / 0.6246 GB, free: 7.305 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005127/0.4466, allocations: 91.22 kB / 0.6247 GB, free: 7.289 MB / 442.7 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.0002915/0.4469, allocations: 165 kB / 0.6248 GB, free: 7.164 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.4471, allocations: 180 kB / 0.625 GB, free: 7.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4471, allocations: 2.812 kB / 0.625 GB, free: 7.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.946e-05/0.4472, allocations: 38.58 kB / 0.625 GB, free: 7.074 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.4476, allocations: 46.33 kB / 0.6251 GB, free: 7.051 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008859/0.4485, allocations: 0.6738 MB / 0.6257 GB, free: 6.531 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.4488, allocations: 0.7417 MB / 0.6265 GB, free: 5.801 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002454/0.4491, allocations: 57.62 kB / 0.6265 GB, free: 5.766 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.4491, allocations: 29.14 kB / 0.6265 GB, free: 5.754 MB / 442.7 MB Notification: Performance of SimCode: time 2.01e-07/0.4491, allocations: 0 / 0.6265 GB, free: 5.754 MB / 442.7 MB Notification: Performance of Templates: time 0.005853/0.455, allocations: 3.118 MB / 0.6296 GB, free: 2.906 MB / 442.7 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@2/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