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.001178/0.001178, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001312/0.001312, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.44/1.44, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.238/0.238, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5189/0.5201, allocations: 60.83 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1953/0.7155, allocations: 149.4 MB / 0.6648 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.7172, allocations: 0.9656 MB / 0.6657 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.7173, allocations: 8 kB / 0.6657 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.7176, allocations: 27.83 kB / 0.6657 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008898/0.7186, allocations: 242.6 kB / 0.666 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.7192, allocations: 115.6 kB / 0.6661 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.7195, allocations: 171.3 kB / 0.6662 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.719e-05/0.7195, allocations: 7.984 kB / 0.6662 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.7198, allocations: 91.58 kB / 0.6663 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.72, allocations: 51.77 kB / 0.6664 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.72, allocations: 4 kB / 0.6664 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007339/0.7208, allocations: 267.7 kB / 0.6666 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.502e-05/0.7209, allocations: 27.97 kB / 0.6667 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.014e-05/0.7209, allocations: 43.8 kB / 0.6667 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006223/0.7216, allocations: 281.1 kB / 0.667 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7216, allocations: 3.938 kB / 0.667 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7216, allocations: 0 / 0.667 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.7216, allocations: 0 / 0.667 GB, free: 3.844 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.0005676/0.7222, allocations: 407.3 kB / 0.6674 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.7222, allocations: 8.031 kB / 0.6674 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/0.7245, allocations: 192.6 kB / 0.6676 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.7248, allocations: 207.6 kB / 0.6678 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.7248, allocations: 8 kB / 0.6678 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.7249, allocations: 8 kB / 0.6678 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005443/0.7255, allocations: 228 kB / 0.668 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.7255, allocations: 0 / 0.668 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.7255, allocations: 0 / 0.668 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.7255, allocations: 4 kB / 0.668 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/0.726, allocations: 167.9 kB / 0.6682 GB, free: 2.539 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.001173/0.7272, allocations: 0.5871 MB / 0.6687 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.7276, allocations: 138.3 kB / 0.6689 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.7277, allocations: 68.83 kB / 0.6689 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.7278, allocations: 7.984 kB / 0.6689 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.7278, allocations: 34.5 kB / 0.669 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.7278, allocations: 4 kB / 0.669 GB, free: 1.629 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.005586/0.7334, allocations: 1.301 MB / 0.6702 GB, free: 240 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.7334, allocations: 51.41 kB / 0.6703 GB, free: 176 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.7335, allocations: 121.8 kB / 0.6704 GB, free: 44 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.7336, allocations: 25.7 kB / 0.6704 GB, free: 12 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.138e-05/0.7337, allocations: 103.9 kB / 0.6705 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.214e-05/0.7338, allocations: 63.09 kB / 0.6706 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.7339, allocations: 57.69 kB / 0.6706 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.734, allocations: 322.8 kB / 0.671 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.7342, allocations: 63.97 kB / 0.671 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.7344, allocations: 111.3 kB / 0.6711 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.7347, allocations: 185.4 kB / 0.6713 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7347, allocations: 0 / 0.6713 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005176/0.7352, allocations: 265.2 kB / 0.6716 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.7353, allocations: 6.812 kB / 0.6716 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.7353, allocations: 0 / 0.6716 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000191/0.7355, allocations: 56.77 kB / 0.6716 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.7358, allocations: 51.95 kB / 0.6717 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004547/0.7363, allocations: 0.5719 MB / 0.6722 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.7365, allocations: 4 kB / 0.6722 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.7366, allocations: 28 kB / 0.6723 GB, free: 14.07 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.0001266/0.7367, allocations: 121.8 kB / 0.6724 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.762e-05/0.7368, allocations: 11.91 kB / 0.6724 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007787/0.7376, allocations: 343.1 kB / 0.6727 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.7376, allocations: 0 / 0.6727 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.7376, allocations: 4 kB / 0.6727 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.7376, allocations: 0 / 0.6727 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.7386, allocations: 0.6228 MB / 0.6733 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7386, allocations: 4.094 kB / 0.6733 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.739, allocations: 67.89 kB / 0.6734 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-05/0.7391, allocations: 20.84 kB / 0.6734 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.7391, allocations: 15.98 kB / 0.6734 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.7402, allocations: 1.359 MB / 0.6747 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7402, allocations: 3.938 kB / 0.6748 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007609/0.741, allocations: 443.6 kB / 0.6752 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.741, allocations: 85.05 kB / 0.6753 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.7411, allocations: 4 kB / 0.6753 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.7413, allocations: 11.98 kB / 0.6753 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.7414, allocations: 16.05 kB / 0.6753 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.7414, allocations: 35.98 kB / 0.6753 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.352e-05/0.7415, allocations: 91.27 kB / 0.6754 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7415, allocations: 0 / 0.6754 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004432/0.742, allocations: 79.88 kB / 0.6755 GB, free: 10.49 MB / 0.5294 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 (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.0004037/0.7424, allocations: 159.1 kB / 0.6756 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000546/0.7429, allocations: 203.8 kB / 0.6758 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7429, allocations: 0 / 0.6758 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.7433, allocations: 224.7 kB / 0.676 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.7438, allocations: 52.42 kB / 0.6761 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009453/0.7448, allocations: 483 kB / 0.6766 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.7451, allocations: 0.7007 MB / 0.6772 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002998/0.7454, allocations: 77.38 kB / 0.6773 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.7456, allocations: 55.41 kB / 0.6774 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/0.7456, allocations: 0 / 0.6774 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of Templates: time 0.01112/0.7567, allocations: 5.622 MB / 0.6829 GB, free: 2.859 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/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