Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 105.9 kB / 18.3 MB, free: 4.887 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.00146/0.00146, allocations: 195.5 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 242.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2728/0.2728, allocations: 44.18 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 60.94 kB / 409.1 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1177, allocations: 60.83 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4496/0.5674, allocations: 149.4 MB / 0.6048 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.5687, allocations: 0.9777 MB / 0.6057 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.5687, allocations: 0 / 0.6057 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.569, allocations: 29.39 kB / 0.6057 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006288/0.5697, allocations: 243.2 kB / 0.606 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.57, allocations: 124.4 kB / 0.6061 GB, free: 9.934 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.5703, allocations: 163.4 kB / 0.6062 GB, free: 9.773 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.5703, allocations: 8 kB / 0.6063 GB, free: 9.766 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.5706, allocations: 97.53 kB / 0.6064 GB, free: 9.672 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.384e-05/0.5707, allocations: 43.84 kB / 0.6064 GB, free: 9.629 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.5707, allocations: 4 kB / 0.6064 GB, free: 9.625 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005408/0.5712, allocations: 267.7 kB / 0.6067 GB, free: 9.363 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.5713, allocations: 19.91 kB / 0.6067 GB, free: 9.344 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.671e-05/0.5714, allocations: 43.8 kB / 0.6067 GB, free: 9.301 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004358/0.5718, allocations: 283.3 kB / 0.607 GB, free: 9.023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5718, allocations: 4.844 kB / 0.607 GB, free: 9.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5718, allocations: 0 / 0.607 GB, free: 9.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.5719, allocations: 0 / 0.607 GB, free: 9.02 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005437/0.5724, allocations: 407.9 kB / 0.6074 GB, free: 8.574 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.5725, allocations: 12.03 kB / 0.6074 GB, free: 8.562 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/0.5747, allocations: 184.6 kB / 0.6076 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.575, allocations: 212 kB / 0.6078 GB, free: 8.137 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.575, allocations: 0 / 0.6078 GB, free: 8.137 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.5751, allocations: 12 kB / 0.6078 GB, free: 8.125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005168/0.5756, allocations: 225.6 kB / 0.608 GB, free: 7.895 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5756, allocations: 0 / 0.608 GB, free: 7.895 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.5757, allocations: 7.984 kB / 0.608 GB, free: 7.887 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5757, allocations: 7.938 kB / 0.608 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000442/0.5762, allocations: 171.8 kB / 0.6082 GB, free: 7.711 MB / 446.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.00105/0.5772, allocations: 0.5727 MB / 0.6087 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.5776, allocations: 146.5 kB / 0.6089 GB, free: 6.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.5777, allocations: 68.83 kB / 0.6089 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.5778, allocations: 0 / 0.6089 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.5778, allocations: 42.55 kB / 0.609 GB, free: 6.809 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.5778, allocations: 0 / 0.609 GB, free: 6.809 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005652/0.5835, allocations: 1.304 MB / 0.6102 GB, free: 5.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.5835, allocations: 55.41 kB / 0.6103 GB, free: 5.348 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.636e-05/0.5836, allocations: 105.8 kB / 0.6104 GB, free: 5.234 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.5837, allocations: 33.7 kB / 0.6104 GB, free: 5.195 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.5837, allocations: 95.95 kB / 0.6105 GB, free: 5.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.5838, allocations: 71.02 kB / 0.6106 GB, free: 5.027 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.5839, allocations: 49.7 kB / 0.6106 GB, free: 4.973 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.584, allocations: 322.8 kB / 0.611 GB, free: 4.648 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.5842, allocations: 71.95 kB / 0.611 GB, free: 4.578 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.5844, allocations: 110.9 kB / 0.6111 GB, free: 4.461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.5848, allocations: 180.6 kB / 0.6113 GB, free: 4.273 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5848, allocations: 4 kB / 0.6113 GB, free: 4.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005082/0.5853, allocations: 270 kB / 0.6116 GB, free: 3.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5853, allocations: 4 kB / 0.6116 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5853, allocations: 4 kB / 0.6116 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001791/0.5855, allocations: 48.83 kB / 0.6116 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.5859, allocations: 51.91 kB / 0.6117 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004467/0.5863, allocations: 0.568 MB / 0.6122 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.5865, allocations: 9.656 kB / 0.6122 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.5866, allocations: 23.98 kB / 0.6122 GB, free: 3.262 MB / 446.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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.5867, allocations: 128.2 kB / 0.6124 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.5868, allocations: 11.84 kB / 0.6124 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008512/0.5876, allocations: 350.2 kB / 0.6127 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.5876, allocations: 4 kB / 0.6127 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5876, allocations: 3.938 kB / 0.6127 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5877, allocations: 0 / 0.6127 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009691/0.5886, allocations: 0.6122 MB / 0.6133 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5886, allocations: 8.094 kB / 0.6133 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.589, allocations: 63.89 kB / 0.6134 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.178e-05/0.5891, allocations: 16.84 kB / 0.6134 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.5891, allocations: 12 kB / 0.6134 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008625/0.59, allocations: 1.371 MB / 0.6148 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.59, allocations: 3.984 kB / 0.6148 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007043/0.5907, allocations: 441.8 kB / 0.6152 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.5908, allocations: 85.05 kB / 0.6153 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.5908, allocations: 4 kB / 0.6153 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.5911, allocations: 8 kB / 0.6153 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.5911, allocations: 28.03 kB / 0.6153 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.5912, allocations: 23.98 kB / 0.6153 GB, free: 15.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.872e-05/0.5912, allocations: 95.25 kB / 0.6154 GB, free: 15.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5912, allocations: 0 / 0.6154 GB, free: 15.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004067/0.5916, allocations: 83.94 kB / 0.6155 GB, free: 15.66 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003564/0.592, allocations: 155.3 kB / 0.6156 GB, free: 15.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005264/0.5925, allocations: 211.7 kB / 0.6158 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5926, allocations: 8.188 kB / 0.6159 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.5929, allocations: 222.5 kB / 0.6161 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.5934, allocations: 43.89 kB / 0.6161 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009481/0.5943, allocations: 0.4935 MB / 0.6166 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.5947, allocations: 0.7085 MB / 0.6173 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.5949, allocations: 51.41 kB / 0.6173 GB, free: 13.7 MB / 462.1 MB Notification: Performance of SimCode: time 2.7e-07/0.5949, allocations: 0 / 0.6173 GB, free: 13.7 MB / 462.1 MB Notification: Performance of Templates: time 0.006431/0.6014, allocations: 3.804 MB / 0.621 GB, free: 9.902 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches