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.0009655/0.0009702, allocations: 102.6 kB / 16.02 MB, free: 76 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.001197/0.001197, allocations: 180.7 kB / 16.92 MB, free: 6.922 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.845/1.845, allocations: 205.4 MB / 223.1 MB, free: 5.543 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.49/0.49, allocations: 43.58 MB / 315 MB, free: 8.816 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.0007594/0.0007595, allocations: 16 kB / 384.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1554, allocations: 58.86 MB / 443.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5153/0.6708, allocations: 146.5 MB / 0.5761 GB, free: 8.844 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.6722, allocations: 0.9947 MB / 0.577 GB, free: 7.859 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.6723, allocations: 0 / 0.577 GB, free: 7.859 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.6726, allocations: 23.83 kB / 0.5771 GB, free: 7.836 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005984/0.6732, allocations: 214.5 kB / 0.5773 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.6736, allocations: 101.7 kB / 0.5774 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.6739, allocations: 203.2 kB / 0.5776 GB, free: 7.336 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.471e-05/0.6739, allocations: 12.75 kB / 0.5776 GB, free: 7.328 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.6742, allocations: 88.2 kB / 0.5777 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.6743, allocations: 47.83 kB / 0.5777 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.6743, allocations: 4 kB / 0.5777 GB, free: 7.191 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004876/0.6748, allocations: 275.6 kB / 0.578 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.6749, allocations: 19.92 kB / 0.578 GB, free: 6.902 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.675, allocations: 73.48 kB / 0.5781 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.6754, allocations: 275.4 kB / 0.5783 GB, free: 6.555 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6754, allocations: 3.562 kB / 0.5783 GB, free: 6.555 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6754, allocations: 0 / 0.5783 GB, free: 6.555 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.6754, allocations: 4 kB / 0.5783 GB, free: 6.551 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.0005619/0.676, allocations: 386.9 kB / 0.5787 GB, free: 6.129 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.6761, allocations: 8.031 kB / 0.5787 GB, free: 6.121 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.6781, allocations: 191.8 kB / 0.5789 GB, free: 5.938 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.6784, allocations: 204.4 kB / 0.5791 GB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.6784, allocations: 11.94 kB / 0.5791 GB, free: 5.688 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.6784, allocations: 8 kB / 0.5791 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005449/0.679, allocations: 232 kB / 0.5793 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.679, allocations: 0.625 kB / 0.5793 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.6791, allocations: 4 kB / 0.5793 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.6791, allocations: 4 kB / 0.5793 GB, free: 5.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/0.6795, allocations: 163.9 kB / 0.5795 GB, free: 5.27 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.001104/0.6806, allocations: 0.5863 MB / 0.5801 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.681, allocations: 138.5 kB / 0.5802 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.6811, allocations: 67.95 kB / 0.5803 GB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.6812, allocations: 4 kB / 0.5803 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.6812, allocations: 42.98 kB / 0.5803 GB, free: 4.363 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.6812, allocations: 0 / 0.5803 GB, free: 4.363 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.005346/0.6866, allocations: 1.305 MB / 0.5816 GB, free: 2.973 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.6866, allocations: 55.41 kB / 0.5816 GB, free: 2.906 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.6868, allocations: 109.8 kB / 0.5817 GB, free: 2.789 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.6868, allocations: 33.7 kB / 0.5818 GB, free: 2.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.6869, allocations: 88.05 kB / 0.5818 GB, free: 2.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.482e-05/0.687, allocations: 70.94 kB / 0.5819 GB, free: 2.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.687, allocations: 25.72 kB / 0.5819 GB, free: 2.559 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6871, allocations: 322.8 kB / 0.5822 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.6873, allocations: 67.95 kB / 0.5823 GB, free: 2.168 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.6875, allocations: 103.4 kB / 0.5824 GB, free: 2.055 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.6879, allocations: 183.3 kB / 0.5826 GB, free: 1.863 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.6879, allocations: 0 / 0.5826 GB, free: 1.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005003/0.6884, allocations: 259.6 kB / 0.5828 GB, free: 1.602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.6884, allocations: 8 kB / 0.5828 GB, free: 1.594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6884, allocations: 0 / 0.5828 GB, free: 1.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001962/0.6886, allocations: 60.8 kB / 0.5829 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.6889, allocations: 51.97 kB / 0.5829 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004543/0.6894, allocations: 0.5679 MB / 0.5835 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.6896, allocations: 8 kB / 0.5835 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.6896, allocations: 23.98 kB / 0.5835 GB, free: 0.8555 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.0001368/0.6898, allocations: 121.9 kB / 0.5836 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.6898, allocations: 11.91 kB / 0.5837 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000821/0.6906, allocations: 347.5 kB / 0.584 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.6907, allocations: 11.92 kB / 0.584 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.6907, allocations: 0 / 0.584 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6907, allocations: 0 / 0.584 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.6918, allocations: 0.632 MB / 0.5846 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6918, allocations: 0.8438 kB / 0.5846 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.6921, allocations: 59.89 kB / 0.5847 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.787e-05/0.6922, allocations: 28.75 kB / 0.5847 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.6923, allocations: 16.09 kB / 0.5847 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009901/0.6933, allocations: 1.265 MB / 0.586 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6933, allocations: 8 kB / 0.586 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006944/0.694, allocations: 422.7 kB / 0.5864 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.694, allocations: 89.08 kB / 0.5864 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.6941, allocations: 7.938 kB / 0.5865 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.6943, allocations: 20.55 kB / 0.5865 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.6944, allocations: 23.97 kB / 0.5865 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.6944, allocations: 27.98 kB / 0.5865 GB, free: 13.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.433e-05/0.6945, allocations: 84.3 kB / 0.5866 GB, free: 13.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6945, allocations: 4 kB / 0.5866 GB, free: 13.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004474/0.695, allocations: 76 kB / 0.5867 GB, free: 13.38 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.0003951/0.6954, allocations: 155 kB / 0.5868 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.6959, allocations: 211 kB / 0.587 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6959, allocations: 0 / 0.587 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.6963, allocations: 226.9 kB / 0.5872 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.6968, allocations: 52.27 kB / 0.5873 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009502/0.6977, allocations: 0.5874 MB / 0.5879 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.6981, allocations: 0.701 MB / 0.5886 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004291/0.6985, allocations: 79.33 kB / 0.5886 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.6987, allocations: 55.41 kB / 0.5887 GB, free: 11.27 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6987, allocations: 0 / 0.5887 GB, free: 11.27 MB / 462.1 MB Notification: Performance of Templates: time 0.01039/0.7091, allocations: 5.432 MB / 0.594 GB, free: 5.859 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (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) 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