Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 109.2 kB / 16.41 MB, free: 6.492 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.002134/0.002133, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.732/1.732, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2178/0.2178, allocations: 43.52 MB / 314.1 MB, free: 484 kB / 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.001601/0.001601, allocations: 67.91 kB / 441.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1519, allocations: 57.78 MB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4858/0.6378, allocations: 150.9 MB / 0.6352 GB, free: 3.824 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.6396, allocations: 1.483 MB / 0.6366 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.6396, allocations: 0 / 0.6366 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.64, allocations: 54.72 kB / 0.6367 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008556/0.6409, allocations: 385 kB / 0.6371 GB, free: 1.93 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.6414, allocations: 180.3 kB / 0.6372 GB, free: 1.754 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.6416, allocations: 183.3 kB / 0.6374 GB, free: 1.574 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.6417, allocations: 11.98 kB / 0.6374 GB, free: 1.562 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.6419, allocations: 79.69 kB / 0.6375 GB, free: 1.484 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.642, allocations: 55.77 kB / 0.6375 GB, free: 1.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.6421, allocations: 9.688 kB / 0.6376 GB, free: 1.422 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.6431, allocations: 0.5768 MB / 0.6381 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.767e-05/0.6432, allocations: 31.91 kB / 0.6382 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.26e-05/0.6432, allocations: 55.78 kB / 0.6382 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.6438, allocations: 386.1 kB / 0.6386 GB, free: 392 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.6438, allocations: 0 / 0.6386 GB, free: 392 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6438, allocations: 0 / 0.6386 GB, free: 392 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.6438, allocations: 0 / 0.6386 GB, free: 392 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.00058/0.6444, allocations: 427.3 kB / 0.639 GB, free: 15.92 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.6445, allocations: 15.89 kB / 0.639 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.6468, allocations: 193.1 kB / 0.6392 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.647, allocations: 212.2 kB / 0.6394 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.6471, allocations: 12.31 kB / 0.6394 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.6471, allocations: 7.906 kB / 0.6394 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/0.6476, allocations: 201.5 kB / 0.6396 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.6476, allocations: 4 kB / 0.6396 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.6477, allocations: 0 / 0.6396 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.6477, allocations: 4 kB / 0.6396 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005824/0.6483, allocations: 248.3 kB / 0.6398 GB, free: 15 MB / 494.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.001779/0.65, allocations: 0.6568 MB / 0.6405 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.6505, allocations: 186.5 kB / 0.6407 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.6507, allocations: 99.8 kB / 0.6408 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/0.6509, allocations: 89.09 kB / 0.6408 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.6509, allocations: 43.5 kB / 0.6409 GB, free: 13.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.823e-06/0.6509, allocations: 0 / 0.6409 GB, free: 13.84 MB / 494.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.005861/0.6568, allocations: 1.521 MB / 0.6424 GB, free: 12.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.6569, allocations: 59.34 kB / 0.6424 GB, free: 12.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/0.657, allocations: 109.8 kB / 0.6425 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.657, allocations: 29.7 kB / 0.6426 GB, free: 11.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.6571, allocations: 100.3 kB / 0.6426 GB, free: 11.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.6571, allocations: 66.95 kB / 0.6427 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.56e-05/0.6572, allocations: 45.69 kB / 0.6428 GB, free: 11.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.6574, allocations: 318.8 kB / 0.6431 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.6576, allocations: 95.94 kB / 0.6432 GB, free: 11.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.6578, allocations: 127.1 kB / 0.6433 GB, free: 11.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.6583, allocations: 227.3 kB / 0.6435 GB, free: 10.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.6583, allocations: 3.938 kB / 0.6435 GB, free: 10.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006132/0.659, allocations: 283.1 kB / 0.6438 GB, free: 10.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.659, allocations: 4 kB / 0.6438 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.659, allocations: 8.094 kB / 0.6438 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.6592, allocations: 28.78 kB / 0.6438 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.6596, allocations: 51.95 kB / 0.6439 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003664/0.66, allocations: 0.5406 MB / 0.6444 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.6603, allocations: 12.09 kB / 0.6444 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.6604, allocations: 4 kB / 0.6444 GB, free: 10.02 MB / 494.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.0001269/0.6605, allocations: 133.7 kB / 0.6445 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.227e-05/0.6606, allocations: 8.781 kB / 0.6445 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007328/0.6613, allocations: 327.3 kB / 0.6448 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.6613, allocations: 0 / 0.6448 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.6613, allocations: 7.938 kB / 0.6449 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.6613, allocations: 0 / 0.6449 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.6625, allocations: 0.6752 MB / 0.6455 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6625, allocations: 0 / 0.6455 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.663, allocations: 60.77 kB / 0.6456 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.452e-05/0.6631, allocations: 16.84 kB / 0.6456 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.6631, allocations: 11.98 kB / 0.6456 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009056/0.664, allocations: 1.364 MB / 0.6469 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6641, allocations: 4.062 kB / 0.6469 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008304/0.6649, allocations: 450.7 kB / 0.6474 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.6649, allocations: 88.98 kB / 0.6474 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.665, allocations: 4 kB / 0.6474 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.6653, allocations: 19.98 kB / 0.6475 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.6654, allocations: 11.98 kB / 0.6475 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.6654, allocations: 11.98 kB / 0.6475 GB, free: 6.574 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.589e-05/0.6655, allocations: 87.27 kB / 0.6476 GB, free: 6.488 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6655, allocations: 0 / 0.6476 GB, free: 6.488 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005189/0.666, allocations: 124 kB / 0.6477 GB, free: 6.367 MB / 494.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 (19): * Single equations (assignments): 18 * 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.0006458/0.6667, allocations: 270.8 kB / 0.648 GB, free: 6.094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006169/0.6673, allocations: 231.2 kB / 0.6482 GB, free: 5.871 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6673, allocations: 4 kB / 0.6482 GB, free: 5.867 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.6677, allocations: 234.9 kB / 0.6484 GB, free: 5.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.6682, allocations: 48.69 kB / 0.6484 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008976/0.6691, allocations: 471 kB / 0.6489 GB, free: 5.082 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.6694, allocations: 0.7085 MB / 0.6496 GB, free: 4.348 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002795/0.6697, allocations: 57.55 kB / 0.6496 GB, free: 4.289 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.6699, allocations: 23.42 kB / 0.6497 GB, free: 4.266 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.6699, allocations: 0 / 0.6497 GB, free: 4.266 MB / 494.1 MB Notification: Performance of Templates: time 0.01048/0.6803, allocations: 6.245 MB / 0.6558 GB, free: 14.03 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches