Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002191/0.002191, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001084/0.001084, allocations: 94.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2846/0.2846, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.522e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.625/1.743, allocations: 461.2 MB / 0.9232 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/1.743, allocations: 71.39 kB / 0.9232 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1009/1.844, allocations: 29.85 MB / 0.9524 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/1.844, allocations: 0 / 0.9524 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.387e-05/1.844, allocations: 4 kB / 0.9524 GB, free: 156.1 MB / 0.5105 GB 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.0004831/1.844, allocations: 377.1 kB / 0.9527 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.844, allocations: 8.031 kB / 0.9528 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002694/1.847, allocations: 185.5 kB / 0.9529 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/1.847, allocations: 201.4 kB / 0.9531 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/1.847, allocations: 11.73 kB / 0.9531 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/1.848, allocations: 11.64 kB / 0.9531 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/1.848, allocations: 208.4 kB / 0.9533 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.848, allocations: 7.938 kB / 0.9534 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-05/1.848, allocations: 4 kB / 0.9534 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.848, allocations: 0 / 0.9534 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000455/1.849, allocations: 150.5 kB / 0.9535 GB, free: 155 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.001247/1.85, allocations: 0.5704 MB / 0.9541 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/1.85, allocations: 133.5 kB / 0.9542 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/1.85, allocations: 61.98 kB / 0.9542 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/1.851, allocations: 4 kB / 0.9542 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/1.851, allocations: 45.84 kB / 0.9543 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 2.274e-06/1.851, allocations: 0 / 0.9543 GB, free: 154.3 MB / 0.5105 GB 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.007507/1.858, allocations: 1.09 MB / 0.9554 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/1.858, allocations: 55.41 kB / 0.9554 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/1.858, allocations: 100.9 kB / 0.9555 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/1.858, allocations: 33.64 kB / 0.9555 GB, free: 153 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/1.858, allocations: 170.2 kB / 0.9557 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.261e-05/1.859, allocations: 58.92 kB / 0.9558 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/1.859, allocations: 3.875 kB / 0.9558 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.961e-05/1.859, allocations: 322.7 kB / 0.9561 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/1.859, allocations: 68.48 kB / 0.9561 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/1.859, allocations: 94.42 kB / 0.9562 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/1.86, allocations: 71.03 kB / 0.9563 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.86, allocations: 4 kB / 0.9563 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001056/1.861, allocations: 249.9 kB / 0.9565 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/1.861, allocations: 15.38 kB / 0.9565 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.861, allocations: 0 / 0.9565 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003837/1.861, allocations: 48.45 kB / 0.9566 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008614/1.862, allocations: 51.22 kB / 0.9566 GB, free: 152 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009286/1.863, allocations: 0.5736 MB / 0.9572 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005268/1.864, allocations: 7.594 kB / 0.9572 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.534e-05/1.864, allocations: 23.94 kB / 0.9572 GB, free: 151.4 MB / 0.5105 GB 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 () * 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.000191/1.864, allocations: 128.2 kB / 0.9574 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/1.864, allocations: 7.906 kB / 0.9574 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/1.866, allocations: 334.1 kB / 0.9577 GB, free: 151 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.866, allocations: 4 kB / 0.9577 GB, free: 151 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.866, allocations: 3.984 kB / 0.9577 GB, free: 151 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/1.866, allocations: 0 / 0.9577 GB, free: 151 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/1.868, allocations: 0.6261 MB / 0.9583 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/1.868, allocations: 0 / 0.9583 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008192/1.869, allocations: 60.11 kB / 0.9584 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001514/1.869, allocations: 24.03 kB / 0.9584 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/1.869, allocations: 19.45 kB / 0.9584 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/1.87, allocations: 1.264 MB / 0.9596 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.87, allocations: 4.156 kB / 0.9596 GB, free: 149 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/1.872, allocations: 456.6 kB / 0.9601 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/1.872, allocations: 85.05 kB / 0.9602 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/1.872, allocations: 11.11 kB / 0.9602 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/1.872, allocations: 7.312 kB / 0.9602 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/1.872, allocations: 27.42 kB / 0.9602 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/1.872, allocations: 27.98 kB / 0.9602 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.835e-05/1.872, allocations: 82.72 kB / 0.9603 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/1.872, allocations: 0 / 0.9603 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006777/1.873, allocations: 120.8 kB / 0.9604 GB, free: 148.2 MB / 0.5105 GB 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 () * 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.0009836/1.874, allocations: 0.5419 MB / 0.9609 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005706/1.875, allocations: 184.8 kB / 0.9611 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.875, allocations: 0 / 0.9611 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003645/1.875, allocations: 214.6 kB / 0.9613 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/1.875, allocations: 50.14 kB / 0.9614 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007131/1.876, allocations: 358.7 kB / 0.9617 GB, free: 147 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/1.876, allocations: 0.7127 MB / 0.9624 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/1.877, allocations: 54.84 kB / 0.9625 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/1.877, allocations: 0 / 0.9625 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.01203/1.889, allocations: 6.432 MB / 0.9687 GB, free: 139.7 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches