Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_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.001172/0.001172, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001109/0.001109, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2036/0.2036, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 60.48 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.105, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4023/0.5073, allocations: 149.4 MB / 0.6055 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.5088, allocations: 0.974 MB / 0.6065 GB, free: 9.758 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.5089, allocations: 0 / 0.6065 GB, free: 9.758 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.5092, allocations: 35.75 kB / 0.6065 GB, free: 9.723 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006464/0.5099, allocations: 242.5 kB / 0.6067 GB, free: 9.492 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.5103, allocations: 116.3 kB / 0.6069 GB, free: 9.383 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.5105, allocations: 167.3 kB / 0.607 GB, free: 9.219 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.5106, allocations: 9.5 kB / 0.607 GB, free: 9.211 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.5108, allocations: 91.69 kB / 0.6071 GB, free: 9.121 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.5109, allocations: 51.77 kB / 0.6072 GB, free: 9.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.511, allocations: 4 kB / 0.6072 GB, free: 9.066 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005522/0.5115, allocations: 259.7 kB / 0.6074 GB, free: 8.812 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.5116, allocations: 23.92 kB / 0.6074 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.105e-05/0.5117, allocations: 47.78 kB / 0.6075 GB, free: 8.742 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000427/0.5121, allocations: 277.1 kB / 0.6077 GB, free: 8.477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.5121, allocations: 3.938 kB / 0.6077 GB, free: 8.473 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5121, allocations: 0 / 0.6077 GB, free: 8.473 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.5121, allocations: 0 / 0.6077 GB, free: 8.473 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.0005417/0.5127, allocations: 415.9 kB / 0.6081 GB, free: 8.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.5127, allocations: 8.031 kB / 0.6082 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001911/0.5147, allocations: 188.5 kB / 0.6083 GB, free: 7.828 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.5151, allocations: 208 kB / 0.6085 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.5151, allocations: 12 kB / 0.6085 GB, free: 7.574 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.306e-05/0.5152, allocations: 6.062 kB / 0.6085 GB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005283/0.5157, allocations: 228 kB / 0.6088 GB, free: 7.332 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5157, allocations: 0 / 0.6088 GB, free: 7.332 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.5157, allocations: 0 / 0.6088 GB, free: 7.332 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.5158, allocations: 4 kB / 0.6088 GB, free: 7.328 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.5162, allocations: 171.3 kB / 0.6089 GB, free: 7.164 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.001086/0.5173, allocations: 0.5796 MB / 0.6095 GB, free: 6.527 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.5176, allocations: 134.5 kB / 0.6096 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.5178, allocations: 68.83 kB / 0.6097 GB, free: 6.316 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.5178, allocations: 15.91 kB / 0.6097 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.5179, allocations: 34.56 kB / 0.6097 GB, free: 6.258 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.5179, allocations: 0 / 0.6097 GB, free: 6.258 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.005014/0.5229, allocations: 1.3 MB / 0.611 GB, free: 4.867 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.523, allocations: 51.41 kB / 0.6111 GB, free: 4.805 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.431e-05/0.5231, allocations: 113.8 kB / 0.6112 GB, free: 4.684 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.5231, allocations: 29.7 kB / 0.6112 GB, free: 4.648 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.5232, allocations: 99.89 kB / 0.6113 GB, free: 4.547 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.5232, allocations: 67.03 kB / 0.6114 GB, free: 4.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.891e-05/0.5233, allocations: 53.7 kB / 0.6114 GB, free: 4.422 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5235, allocations: 322.8 kB / 0.6117 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.5236, allocations: 67.95 kB / 0.6118 GB, free: 4.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.5238, allocations: 110.9 kB / 0.6119 GB, free: 3.914 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.5241, allocations: 183.3 kB / 0.6121 GB, free: 3.723 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5241, allocations: 0 / 0.6121 GB, free: 3.723 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004735/0.5246, allocations: 267.6 kB / 0.6123 GB, free: 3.453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.5246, allocations: 4 kB / 0.6123 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.5247, allocations: 3.938 kB / 0.6123 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.5248, allocations: 52.92 kB / 0.6124 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.5252, allocations: 51.97 kB / 0.6124 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004098/0.5256, allocations: 0.5679 MB / 0.613 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.5258, allocations: 4 kB / 0.613 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.5258, allocations: 27.98 kB / 0.613 GB, free: 2.715 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.0001137/0.526, allocations: 125.9 kB / 0.6131 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.526, allocations: 7.906 kB / 0.6131 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007421/0.5268, allocations: 350.9 kB / 0.6135 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.5268, allocations: 0 / 0.6135 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5268, allocations: 4 kB / 0.6135 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5268, allocations: 0 / 0.6135 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009594/0.5278, allocations: 0.634 MB / 0.6141 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5278, allocations: 0 / 0.6141 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.5281, allocations: 63.89 kB / 0.6142 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.944e-05/0.5282, allocations: 20.84 kB / 0.6142 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.5283, allocations: 12 kB / 0.6142 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000937/0.5292, allocations: 1.363 MB / 0.6155 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5292, allocations: 0 / 0.6155 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.5299, allocations: 442.5 kB / 0.6159 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.5299, allocations: 97.11 kB / 0.616 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.53, allocations: 4 kB / 0.616 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.5302, allocations: 8 kB / 0.616 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.5302, allocations: 19.97 kB / 0.6161 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.5303, allocations: 31.98 kB / 0.6161 GB, free: 15.28 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.329e-05/0.5304, allocations: 83.28 kB / 0.6162 GB, free: 15.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5304, allocations: 0 / 0.6162 GB, free: 15.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000395/0.5308, allocations: 83.92 kB / 0.6162 GB, free: 15.12 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.0003438/0.5311, allocations: 147.1 kB / 0.6164 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004827/0.5316, allocations: 218.9 kB / 0.6166 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.5316, allocations: 0 / 0.6166 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.5319, allocations: 226.5 kB / 0.6168 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.5324, allocations: 48.88 kB / 0.6169 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008311/0.5332, allocations: 483.4 kB / 0.6173 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.5335, allocations: 0.7085 MB / 0.618 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002805/0.5338, allocations: 69.39 kB / 0.6181 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.5339, allocations: 51.39 kB / 0.6181 GB, free: 13.11 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5339, allocations: 4 kB / 0.6181 GB, free: 13.11 MB / 462.1 MB Notification: Performance of Templates: time 0.008939/0.5429, allocations: 5.595 MB / 0.6236 GB, free: 7.531 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches