Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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 3.2.3+maint.om/package.mo", uses=false) 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(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 103.9 kB / 18.39 MB, free: 4.641 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.001048/0.001048, allocations: 190.5 kB / 19.33 MB, free: 3.715 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.334/1.334, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.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.00142/0.00142, allocations: 47.94 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1038, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.4188/0.5226, allocations: 150.6 MB / 0.5141 GB, free: 8.727 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.5244, allocations: 0.9754 MB / 0.515 GB, free: 7.754 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.5245, allocations: 0 / 0.515 GB, free: 7.754 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.5249, allocations: 31.77 kB / 0.515 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.526, allocations: 242.7 kB / 0.5153 GB, free: 7.484 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005553/0.5266, allocations: 119.6 kB / 0.5154 GB, free: 7.367 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.5269, allocations: 171.3 kB / 0.5156 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.721e-05/0.527, allocations: 4 kB / 0.5156 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.5273, allocations: 87.62 kB / 0.5156 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.5274, allocations: 47.77 kB / 0.5157 GB, free: 7.062 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.5275, allocations: 9.781 kB / 0.5157 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007311/0.5282, allocations: 275.7 kB / 0.516 GB, free: 6.785 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.438e-05/0.5283, allocations: 15.97 kB / 0.516 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.5284, allocations: 47.8 kB / 0.516 GB, free: 6.723 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007457/0.5292, allocations: 280.7 kB / 0.5163 GB, free: 6.453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5292, allocations: 0 / 0.5163 GB, free: 6.453 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.5292, allocations: 0 / 0.5163 GB, free: 6.453 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.5292, allocations: 0 / 0.5163 GB, free: 6.453 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.0007365/0.5299, allocations: 411.9 kB / 0.5167 GB, free: 6.004 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.53, allocations: 8.031 kB / 0.5167 GB, free: 5.996 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/0.5322, allocations: 188.6 kB / 0.5169 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.5327, allocations: 204.5 kB / 0.5171 GB, free: 5.574 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.5327, allocations: 7.938 kB / 0.5171 GB, free: 5.566 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.5328, allocations: 11.91 kB / 0.5171 GB, free: 5.555 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/0.5334, allocations: 228 kB / 0.5173 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.5334, allocations: 0 / 0.5173 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.5334, allocations: 4 kB / 0.5173 GB, free: 5.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.5334, allocations: 4 kB / 0.5173 GB, free: 5.309 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/0.5339, allocations: 171.8 kB / 0.5175 GB, free: 5.141 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.001317/0.5353, allocations: 0.5917 MB / 0.518 GB, free: 4.492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.5357, allocations: 134.5 kB / 0.5182 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.5358, allocations: 74.64 kB / 0.5182 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.5359, allocations: 3.984 kB / 0.5182 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.5359, allocations: 42.56 kB / 0.5183 GB, free: 4.223 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 3.286e-06/0.5359, allocations: 0 / 0.5183 GB, free: 4.223 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.005576/0.5415, allocations: 1.3 MB / 0.5196 GB, free: 2.832 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.5416, allocations: 59.41 kB / 0.5196 GB, free: 2.762 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.5417, allocations: 105.8 kB / 0.5197 GB, free: 2.648 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.5418, allocations: 29.7 kB / 0.5197 GB, free: 2.613 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.5419, allocations: 95.98 kB / 0.5198 GB, free: 2.516 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/0.542, allocations: 67 kB / 0.5199 GB, free: 2.449 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.5421, allocations: 53.69 kB / 0.52 GB, free: 2.391 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5422, allocations: 322.8 kB / 0.5203 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.5424, allocations: 67.95 kB / 0.5203 GB, free: 2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.5426, allocations: 111.2 kB / 0.5204 GB, free: 1.879 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.543, allocations: 175.3 kB / 0.5206 GB, free: 1.695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.543, allocations: 4 kB / 0.5206 GB, free: 1.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005245/0.5435, allocations: 266.1 kB / 0.5209 GB, free: 1.422 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.5436, allocations: 4 kB / 0.5209 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.5436, allocations: 4 kB / 0.5209 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.5438, allocations: 48.83 kB / 0.5209 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.5441, allocations: 51.97 kB / 0.521 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004942/0.5447, allocations: 0.5718 MB / 0.5215 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.5449, allocations: 8.031 kB / 0.5215 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.5449, allocations: 23.98 kB / 0.5215 GB, free: 0.6836 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.000176/0.5451, allocations: 125.8 kB / 0.5217 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.5452, allocations: 7.906 kB / 0.5217 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008062/0.546, allocations: 344.5 kB / 0.522 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.546, allocations: 7.938 kB / 0.522 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.546, allocations: 0 / 0.522 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.546, allocations: 0 / 0.522 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.5472, allocations: 0.6353 MB / 0.5226 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.5472, allocations: 4 kB / 0.5226 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/0.5476, allocations: 62.45 kB / 0.5227 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.042e-05/0.5477, allocations: 20.84 kB / 0.5227 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.5477, allocations: 19.88 kB / 0.5227 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.5489, allocations: 1.371 MB / 0.5241 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5489, allocations: 0 / 0.5241 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007751/0.5497, allocations: 434.6 kB / 0.5245 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.385e-05/0.5498, allocations: 88.98 kB / 0.5246 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.5498, allocations: 8 kB / 0.5246 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.55, allocations: 8 kB / 0.5246 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.5501, allocations: 24.03 kB / 0.5246 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.5502, allocations: 27.98 kB / 0.5246 GB, free: 13.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.493e-05/0.5502, allocations: 87.27 kB / 0.5247 GB, free: 13.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5502, allocations: 0 / 0.5247 GB, free: 13.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004582/0.5507, allocations: 80 kB / 0.5248 GB, free: 13.08 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.0004609/0.5512, allocations: 149.2 kB / 0.5249 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.5517, allocations: 204.3 kB / 0.5251 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.5518, allocations: 8.188 kB / 0.5251 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.5522, allocations: 218.6 kB / 0.5254 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.5527, allocations: 41.12 kB / 0.5254 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.5537, allocations: 0.499 MB / 0.5259 GB, free: 11.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.554, allocations: 0.7046 MB / 0.5266 GB, free: 11.19 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.5542, allocations: 59.41 kB / 0.5266 GB, free: 11.13 MB / 462.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5542, allocations: 0 / 0.5266 GB, free: 11.13 MB / 462.1 MB Notification: Performance of Templates: time 0.007602/0.5619, allocations: 3.825 MB / 0.5304 GB, free: 7.297 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches