Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_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.001057/0.001057, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 176.5 kB / 16.57 MB, free: 6.391 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.48/1.48, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3209/0.3209, allocations: 43.55 MB / 314.5 MB, free: 9.043 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.0004814/0.0004815, allocations: 19.98 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1162, allocations: 58.85 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3145/0.4308, allocations: 125.6 MB / 0.555 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.4322, allocations: 0.8148 MB / 0.5558 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.559e-05/0.4323, allocations: 4 kB / 0.5558 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002525/0.4326, allocations: 37.27 kB / 0.5558 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006398/0.4333, allocations: 213.8 kB / 0.556 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.4336, allocations: 87.58 kB / 0.5561 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.4339, allocations: 106.6 kB / 0.5562 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.292e-05/0.4339, allocations: 10.59 kB / 0.5562 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.4342, allocations: 88.02 kB / 0.5563 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.4343, allocations: 50 kB / 0.5564 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.4343, allocations: 3.938 kB / 0.5564 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006338/0.435, allocations: 282.5 kB / 0.5566 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.435, allocations: 18.64 kB / 0.5566 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.4351, allocations: 37.7 kB / 0.5567 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.4355, allocations: 202 kB / 0.5569 GB, free: 12.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.4355, allocations: 0 / 0.5569 GB, free: 12.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4355, allocations: 0 / 0.5569 GB, free: 12.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.4355, allocations: 4 kB / 0.5569 GB, free: 12.09 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005719/0.4361, allocations: 389.8 kB / 0.5572 GB, free: 11.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.4361, allocations: 8.031 kB / 0.5573 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.4381, allocations: 187.8 kB / 0.5574 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.4384, allocations: 199.8 kB / 0.5576 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.4384, allocations: 8 kB / 0.5576 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.4385, allocations: 4 kB / 0.5576 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.439, allocations: 230.5 kB / 0.5579 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.439, allocations: 0 / 0.5579 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.439, allocations: 0 / 0.5579 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.439, allocations: 4 kB / 0.5579 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004264/0.4395, allocations: 174.8 kB / 0.558 GB, free: 10.99 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.001019/0.4405, allocations: 0.5791 MB / 0.5586 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.4408, allocations: 128.5 kB / 0.5587 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.4409, allocations: 4 kB / 0.5587 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.4409, allocations: 42.5 kB / 0.5588 GB, free: 10.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 2.725e-06/0.4409, allocations: 0 / 0.5588 GB, free: 10.23 MB / 430.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.005112/0.446, allocations: 1.308 MB / 0.56 GB, free: 8.969 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.4461, allocations: 55.41 kB / 0.5601 GB, free: 8.902 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.008e-05/0.4462, allocations: 112.3 kB / 0.5602 GB, free: 8.785 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.4462, allocations: 29.7 kB / 0.5602 GB, free: 8.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.4463, allocations: 99.89 kB / 0.5603 GB, free: 8.648 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.4464, allocations: 67 kB / 0.5604 GB, free: 8.582 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.669e-05/0.4464, allocations: 4 kB / 0.5604 GB, free: 8.578 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4465, allocations: 326.8 kB / 0.5607 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.4467, allocations: 67.97 kB / 0.5608 GB, free: 8.184 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.4468, allocations: 99.58 kB / 0.5609 GB, free: 8.074 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.447, allocations: 76.92 kB / 0.5609 GB, free: 8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.447, allocations: 0 / 0.5609 GB, free: 8 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004615/0.4475, allocations: 259.3 kB / 0.5612 GB, free: 7.738 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4475, allocations: 8 kB / 0.5612 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4475, allocations: 0.5 kB / 0.5612 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/0.4477, allocations: 56.83 kB / 0.5612 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.448, allocations: 55.89 kB / 0.5613 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004222/0.4485, allocations: 0.5642 MB / 0.5618 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.4487, allocations: 8.797 kB / 0.5619 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/0.4487, allocations: 29.03 kB / 0.5619 GB, free: 6.992 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.4488, allocations: 129.7 kB / 0.562 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.4489, allocations: 11.91 kB / 0.562 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008052/0.4497, allocations: 352.8 kB / 0.5624 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.4497, allocations: 0 / 0.5624 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4497, allocations: 0 / 0.5624 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.4497, allocations: 7.984 kB / 0.5624 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000968/0.4507, allocations: 0.6139 MB / 0.563 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.4507, allocations: 12.03 kB / 0.563 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.4511, allocations: 55.95 kB / 0.563 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.591e-05/0.4512, allocations: 20.84 kB / 0.563 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/0.4512, allocations: 23.86 kB / 0.5631 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009371/0.4522, allocations: 1.273 MB / 0.5643 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4522, allocations: 0 / 0.5643 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007215/0.4529, allocations: 468 kB / 0.5648 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.453, allocations: 85.05 kB / 0.5648 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.453, allocations: 8 kB / 0.5648 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.4532, allocations: 8 kB / 0.5649 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.4533, allocations: 27.97 kB / 0.5649 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.4534, allocations: 31.98 kB / 0.5649 GB, free: 3.613 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.453e-05/0.4534, allocations: 85.22 kB / 0.565 GB, free: 3.531 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4534, allocations: 0 / 0.565 GB, free: 3.531 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004507/0.4539, allocations: 80 kB / 0.5651 GB, free: 3.453 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003831/0.4543, allocations: 147.8 kB / 0.5652 GB, free: 3.301 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005338/0.4548, allocations: 203 kB / 0.5654 GB, free: 3.105 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4548, allocations: 4.188 kB / 0.5654 GB, free: 3.102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.4552, allocations: 227 kB / 0.5656 GB, free: 2.867 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.4556, allocations: 37.69 kB / 0.5657 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008526/0.4564, allocations: 0.5784 MB / 0.5662 GB, free: 2.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.4567, allocations: 0.7127 MB / 0.5669 GB, free: 1.492 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004261/0.4572, allocations: 73.39 kB / 0.567 GB, free: 1.422 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.4574, allocations: 51.41 kB / 0.567 GB, free: 1.375 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4574, allocations: 0 / 0.567 GB, free: 1.375 MB / 430.1 MB Notification: Performance of Templates: time 0.01018/0.4675, allocations: 5.39 MB / 0.5723 GB, free: 12.01 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches