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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 212.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2279/0.2279, allocations: 44.92 MB / 358.8 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.91 kB / 0.4931 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 65.48 MB / 0.557 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1884/0.5264, allocations: 152.7 MB / 0.7062 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.528, allocations: 0.9771 MB / 0.7071 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.5281, allocations: 0 / 0.7071 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.5284, allocations: 35.73 kB / 0.7071 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008811/0.5293, allocations: 248.5 kB / 0.7074 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.5297, allocations: 119.7 kB / 0.7075 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.5301, allocations: 167.3 kB / 0.7077 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.712e-05/0.5301, allocations: 12 kB / 0.7077 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.5304, allocations: 95.61 kB / 0.7078 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.5305, allocations: 55.77 kB / 0.7078 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.5305, allocations: 8 kB / 0.7078 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006359/0.5312, allocations: 267.7 kB / 0.7081 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.5312, allocations: 19.92 kB / 0.7081 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.518e-05/0.5313, allocations: 51.78 kB / 0.7081 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005948/0.5319, allocations: 283.2 kB / 0.7084 GB, free: 12.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5319, allocations: 0 / 0.7084 GB, free: 12.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5319, allocations: 0 / 0.7084 GB, free: 12.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.5319, allocations: 0 / 0.7084 GB, free: 12.14 MB / 0.545 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.0005907/0.5325, allocations: 337.8 kB / 0.7087 GB, free: 11.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.5326, allocations: 16.03 kB / 0.7087 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.573e-05/0.5326, allocations: 42.67 kB / 0.7088 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/0.5347, allocations: 196.6 kB / 0.709 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.5351, allocations: 149.6 kB / 0.7091 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.5351, allocations: 4 kB / 0.7091 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.5352, allocations: 12 kB / 0.7091 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005212/0.5357, allocations: 226.6 kB / 0.7094 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5357, allocations: 0 / 0.7094 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.5357, allocations: 8 kB / 0.7094 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.5357, allocations: 4 kB / 0.7094 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.5362, allocations: 170.4 kB / 0.7095 GB, free: 10.93 MB / 0.545 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.001096/0.5373, allocations: 0.5511 MB / 0.7101 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.5377, allocations: 134.5 kB / 0.7102 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.5378, allocations: 68.83 kB / 0.7103 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.5378, allocations: 4 kB / 0.7103 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.5379, allocations: 42.48 kB / 0.7103 GB, free: 10.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.5379, allocations: 0 / 0.7103 GB, free: 10.06 MB / 0.545 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.005134/0.543, allocations: 1.163 MB / 0.7114 GB, free: 8.844 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.5431, allocations: 51.41 kB / 0.7115 GB, free: 8.781 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.5432, allocations: 109.8 kB / 0.7116 GB, free: 8.664 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.5432, allocations: 29.7 kB / 0.7116 GB, free: 8.629 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.5433, allocations: 95.98 kB / 0.7117 GB, free: 8.531 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.61e-05/0.5433, allocations: 71.42 kB / 0.7118 GB, free: 8.461 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.5434, allocations: 53.66 kB / 0.7118 GB, free: 8.402 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5436, allocations: 326.8 kB / 0.7121 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.5437, allocations: 71.95 kB / 0.7122 GB, free: 8.004 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.5439, allocations: 106.9 kB / 0.7123 GB, free: 7.891 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.5443, allocations: 191.6 kB / 0.7125 GB, free: 7.695 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.5443, allocations: 0 / 0.7125 GB, free: 7.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005119/0.5448, allocations: 258.3 kB / 0.7127 GB, free: 7.434 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5448, allocations: 4 kB / 0.7127 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.5448, allocations: 7.938 kB / 0.7128 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.545, allocations: 48.83 kB / 0.7128 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.5453, allocations: 52.06 kB / 0.7128 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004741/0.5458, allocations: 0.5718 MB / 0.7134 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.546, allocations: 4 kB / 0.7134 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.546, allocations: 27.98 kB / 0.7134 GB, free: 6.691 MB / 0.545 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.0001487/0.5462, allocations: 125.7 kB / 0.7136 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.5462, allocations: 15.98 kB / 0.7136 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007974/0.547, allocations: 347 kB / 0.7139 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.547, allocations: 0 / 0.7139 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.547, allocations: 4 kB / 0.7139 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.547, allocations: 0 / 0.7139 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.5482, allocations: 0.5959 MB / 0.7145 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5482, allocations: 3.984 kB / 0.7145 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.5485, allocations: 67.89 kB / 0.7146 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.158e-05/0.5486, allocations: 16.84 kB / 0.7146 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.5486, allocations: 12 kB / 0.7146 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.5497, allocations: 1.275 MB / 0.7158 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.5497, allocations: 4.031 kB / 0.7158 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007251/0.5504, allocations: 437.7 kB / 0.7163 GB, free: 3.594 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.5504, allocations: 7.984 kB / 0.7163 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.5505, allocations: 7.984 kB / 0.7163 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.5507, allocations: 8.062 kB / 0.7163 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.5507, allocations: 23.97 kB / 0.7163 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.5508, allocations: 27.98 kB / 0.7163 GB, free: 3.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.727e-05/0.5508, allocations: 91.2 kB / 0.7164 GB, free: 3.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5508, allocations: 7.938 kB / 0.7164 GB, free: 3.422 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00043/0.5513, allocations: 75.94 kB / 0.7165 GB, free: 3.348 MB / 0.545 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.001304/0.5526, allocations: 1.02 MB / 0.7175 GB, free: 2.285 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004923/0.5531, allocations: 198.6 kB / 0.7177 GB, free: 2.094 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.5531, allocations: 4.188 kB / 0.7177 GB, free: 2.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.5534, allocations: 221.1 kB / 0.7179 GB, free: 1.863 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.5539, allocations: 51.23 kB / 0.7179 GB, free: 1.816 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.5567, allocations: 2.08 MB / 0.72 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.5571, allocations: 0.7085 MB / 0.7207 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003086/0.5574, allocations: 77.39 kB / 0.7207 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.5576, allocations: 67.39 kB / 0.7208 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.5576, allocations: 0 / 0.7208 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0395/0.5971, allocations: 7.536 MB / 0.7282 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.37, allocations: 0 / 0.7282 GB, free: 7.324 MB / 0.5606 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.566949810134247]