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.001944/0.001944, allocations: 177.2 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007435/0.0007433, allocations: 89.42 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3626/0.3626, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004197, allocations: 16 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1242, allocations: 58.84 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.311, allocations: 461.4 MB / 0.9305 GB, free: 165.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/1.311, allocations: 69.41 kB / 0.9305 GB, free: 165.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.05541/1.366, allocations: 29.91 MB / 0.9598 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.715e-06/1.366, allocations: 0 / 0.9598 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.09e-05/1.367, allocations: 0 / 0.9598 GB, free: 135.8 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.00037/1.367, allocations: 394.8 kB / 0.9601 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.367, allocations: 8.031 kB / 0.9601 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/1.368, allocations: 187.3 kB / 0.9603 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/1.369, allocations: 204.3 kB / 0.9605 GB, free: 135 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/1.369, allocations: 12.38 kB / 0.9605 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/1.369, allocations: 8.375 kB / 0.9605 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/1.369, allocations: 216.6 kB / 0.9607 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/1.369, allocations: 4.188 kB / 0.9607 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/1.369, allocations: 7.938 kB / 0.9608 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.369, allocations: 0 / 0.9608 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/1.37, allocations: 175.7 kB / 0.9609 GB, free: 134.5 MB / 0.5105 GB 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.0008193/1.37, allocations: 0.5797 MB / 0.9615 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/1.371, allocations: 130.5 kB / 0.9616 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/1.371, allocations: 73.08 kB / 0.9617 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/1.371, allocations: 7.984 kB / 0.9617 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/1.371, allocations: 43.08 kB / 0.9617 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/1.371, allocations: 0 / 0.9617 GB, free: 133.6 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.004492/1.375, allocations: 1.306 MB / 0.963 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/1.375, allocations: 55.41 kB / 0.9631 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.774e-05/1.376, allocations: 109.8 kB / 0.9632 GB, free: 132 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/1.376, allocations: 37.64 kB / 0.9632 GB, free: 132 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/1.376, allocations: 88.05 kB / 0.9633 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/1.376, allocations: 74.92 kB / 0.9634 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/1.376, allocations: 4 kB / 0.9634 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.015e-05/1.376, allocations: 322.8 kB / 0.9637 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/1.376, allocations: 64.98 kB / 0.9637 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/1.376, allocations: 111.4 kB / 0.9638 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/1.376, allocations: 178.7 kB / 0.964 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/1.376, allocations: 0 / 0.964 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003975/1.377, allocations: 250.2 kB / 0.9642 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.377, allocations: 15.88 kB / 0.9643 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.377, allocations: 4.094 kB / 0.9643 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/1.377, allocations: 52.83 kB / 0.9643 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/1.377, allocations: 55.89 kB / 0.9644 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002749/1.377, allocations: 0.5601 MB / 0.9649 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/1.378, allocations: 12.03 kB / 0.9649 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/1.378, allocations: 32 kB / 0.965 GB, free: 130.1 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 () * 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 8.826e-05/1.378, allocations: 125.8 kB / 0.9651 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/1.378, allocations: 7.906 kB / 0.9651 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007147/1.379, allocations: 355.4 kB / 0.9654 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/1.379, allocations: 0 / 0.9654 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.379, allocations: 0 / 0.9654 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.379, allocations: 7.984 kB / 0.9654 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007529/1.379, allocations: 0.6227 MB / 0.966 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.379, allocations: 0 / 0.966 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/1.38, allocations: 71.83 kB / 0.9661 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.868e-05/1.38, allocations: 16.84 kB / 0.9661 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/1.38, allocations: 15.98 kB / 0.9661 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005721/1.38, allocations: 1.264 MB / 0.9674 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.38, allocations: 0 / 0.9674 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/1.381, allocations: 432 kB / 0.9678 GB, free: 127 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/1.381, allocations: 92.89 kB / 0.9679 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/1.381, allocations: 8 kB / 0.9679 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/1.381, allocations: 11.94 kB / 0.9679 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/1.381, allocations: 27.97 kB / 0.9679 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/1.381, allocations: 31.98 kB / 0.968 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.754e-05/1.381, allocations: 87.27 kB / 0.968 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/1.381, allocations: 0 / 0.968 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004745/1.382, allocations: 115.9 kB / 0.9681 GB, free: 126.6 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 () * 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.0006486/1.382, allocations: 0.5421 MB / 0.9687 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004216/1.383, allocations: 199.8 kB / 0.9689 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.383, allocations: 4.188 kB / 0.9689 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002657/1.383, allocations: 222.5 kB / 0.9691 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/1.384, allocations: 52.33 kB / 0.9691 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/1.384, allocations: 0.5942 MB / 0.9697 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/1.384, allocations: 0.7088 MB / 0.9704 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/1.385, allocations: 55.41 kB / 0.9705 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.322e-06/1.385, allocations: 0 / 0.9705 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.006622/1.391, allocations: 6.133 MB / 0.9764 GB, free: 118 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