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.001338/0.001338, allocations: 106.5 kB / 18.45 MB, free: 4.602 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.001425/0.001425, allocations: 187.3 kB / 19.38 MB, free: 3.68 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.4/1.4, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2176/0.2176, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3502, allocations: 60.82 MB / 0.5195 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1624/0.5126, allocations: 149.4 MB / 0.6654 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.514, allocations: 0.9734 MB / 0.6664 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.514, allocations: 7.938 kB / 0.6664 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.5143, allocations: 23.83 kB / 0.6664 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006256/0.515, allocations: 246.6 kB / 0.6666 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.5154, allocations: 115.7 kB / 0.6668 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.5156, allocations: 171.2 kB / 0.6669 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.5157, allocations: 4 kB / 0.6669 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.5159, allocations: 95.62 kB / 0.667 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.703e-05/0.516, allocations: 43.83 kB / 0.6671 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.516, allocations: 4 kB / 0.6671 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005225/0.5166, allocations: 271.7 kB / 0.6673 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.5166, allocations: 19.92 kB / 0.6673 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.5167, allocations: 51.78 kB / 0.6674 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.5171, allocations: 277.1 kB / 0.6676 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5171, allocations: 3.938 kB / 0.6677 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5171, allocations: 0 / 0.6677 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.5172, allocations: 0 / 0.6677 GB, free: 3.867 MB / 0.5137 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.0004867/0.5176, allocations: 411.3 kB / 0.668 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.5177, allocations: 8.031 kB / 0.6681 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/0.5199, allocations: 188.6 kB / 0.6682 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.5202, allocations: 207.6 kB / 0.6684 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.5203, allocations: 4 kB / 0.6684 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.047e-05/0.5203, allocations: 12 kB / 0.6684 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.5208, allocations: 216.1 kB / 0.6686 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.5209, allocations: 0 / 0.6686 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.5209, allocations: 8 kB / 0.6687 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.5209, allocations: 0 / 0.6687 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.5214, allocations: 171.8 kB / 0.6688 GB, free: 2.566 MB / 0.5137 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.001055/0.5224, allocations: 0.591 MB / 0.6694 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.5228, allocations: 134.5 kB / 0.6695 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.5229, allocations: 68.83 kB / 0.6696 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.523, allocations: 4 kB / 0.6696 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.523, allocations: 34.56 kB / 0.6696 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.523, allocations: 0 / 0.6696 GB, free: 1.66 MB / 0.5137 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.005362/0.5284, allocations: 1.311 MB / 0.6709 GB, free: 268 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.5284, allocations: 59.34 kB / 0.671 GB, free: 196 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.5285, allocations: 113.8 kB / 0.6711 GB, free: 72 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.5286, allocations: 29.7 kB / 0.6711 GB, free: 36 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.5287, allocations: 103.9 kB / 0.6712 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/0.5287, allocations: 59.11 kB / 0.6713 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.897e-05/0.5288, allocations: 53.62 kB / 0.6713 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.529, allocations: 326.8 kB / 0.6716 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.5291, allocations: 67.97 kB / 0.6717 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.5293, allocations: 103.3 kB / 0.6718 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.5296, allocations: 193.3 kB / 0.672 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5296, allocations: 0 / 0.672 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004739/0.5301, allocations: 257.4 kB / 0.6722 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.5302, allocations: 8 kB / 0.6722 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.5302, allocations: 0 / 0.6722 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/0.5304, allocations: 52.81 kB / 0.6723 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.5307, allocations: 60 kB / 0.6723 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004466/0.5312, allocations: 0.5601 MB / 0.6729 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.5314, allocations: 8.031 kB / 0.6729 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.5314, allocations: 27.94 kB / 0.6729 GB, free: 14.11 MB / 0.5294 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 (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.0001304/0.5316, allocations: 125.9 kB / 0.673 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.5316, allocations: 7.906 kB / 0.673 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007532/0.5324, allocations: 351 kB / 0.6734 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.5324, allocations: 3.984 kB / 0.6734 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5324, allocations: 0 / 0.6734 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.5324, allocations: 85.02 kB / 0.6735 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.5325, allocations: 4 kB / 0.6735 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.5327, allocations: 4 kB / 0.6735 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.5328, allocations: 27.97 kB / 0.6735 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000843/0.5336, allocations: 333.5 kB / 0.6738 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006615/0.5343, allocations: 457.3 kB / 0.6742 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001614/0.5345, allocations: 76 kB / 0.6743 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.922e-05/0.5345, allocations: 91.27 kB / 0.6744 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of Backend: time 4.3e-07/0.5346, allocations: 0 / 0.6744 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.5357, allocations: 326 kB / 0.6747 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0008828/0.5365, allocations: 0.8742 MB / 0.6756 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.01034/0.5469, allocations: 6.722 MB / 0.6821 GB, free: 4.535 MB / 0.5294 GB 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 -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