Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001724/0.001724, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002809/0.002809, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2318/0.2318, allocations: 46.93 MB / 361.6 MB, free: 4.316 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002634/0.002634, allocations: 67.91 kB / 0.4969 GB, free: 7.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3393, allocations: 66.04 MB / 0.5614 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1902/0.5295, allocations: 152.7 MB / 0.7106 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.5312, allocations: 1.055 MB / 0.7116 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.152e-05/0.5313, allocations: 4 kB / 0.7116 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.5316, allocations: 35.77 kB / 0.7116 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009053/0.5325, allocations: 276.4 kB / 0.7119 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.5329, allocations: 123.6 kB / 0.712 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003594/0.5333, allocations: 179.2 kB / 0.7122 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.527e-05/0.5334, allocations: 11.98 kB / 0.7122 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.5336, allocations: 99.56 kB / 0.7123 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.5338, allocations: 55.8 kB / 0.7124 GB, free: 9.203 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.5338, allocations: 8 kB / 0.7124 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006719/0.5345, allocations: 267.7 kB / 0.7126 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.5346, allocations: 27.91 kB / 0.7126 GB, free: 8.906 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.573e-05/0.5347, allocations: 47.8 kB / 0.7127 GB, free: 8.859 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005905/0.5352, allocations: 287.2 kB / 0.713 GB, free: 8.578 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.788e-05/0.5353, allocations: 0 / 0.713 GB, free: 8.578 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5353, allocations: 0 / 0.713 GB, free: 8.578 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.5353, allocations: 4 kB / 0.713 GB, free: 8.574 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.0006286/0.5359, allocations: 337.8 kB / 0.7133 GB, free: 8.215 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.536, allocations: 12.03 kB / 0.7133 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.666e-05/0.536, allocations: 192 / 0.7133 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.007e-05/0.536, allocations: 38.75 kB / 0.7133 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.5382, allocations: 196.6 kB / 0.7135 GB, free: 7.965 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.5386, allocations: 153.4 kB / 0.7137 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.5386, allocations: 8 kB / 0.7137 GB, free: 7.781 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.143e-05/0.5386, allocations: 8 kB / 0.7137 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/0.5392, allocations: 216.1 kB / 0.7139 GB, free: 7.547 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.5392, allocations: 3.984 kB / 0.7139 GB, free: 7.543 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.5393, allocations: 12 kB / 0.7139 GB, free: 7.531 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.5393, allocations: 0 / 0.7139 GB, free: 7.531 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004756/0.5397, allocations: 167.8 kB / 0.7141 GB, free: 7.367 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.001237/0.541, allocations: 0.5589 MB / 0.7146 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.5413, allocations: 134.5 kB / 0.7147 GB, free: 6.617 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.5415, allocations: 72.77 kB / 0.7148 GB, free: 6.543 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.5415, allocations: 4 kB / 0.7148 GB, free: 6.539 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.5416, allocations: 34.75 kB / 0.7148 GB, free: 6.496 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.5416, allocations: 0 / 0.7148 GB, free: 6.496 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.005434/0.547, allocations: 1.157 MB / 0.716 GB, free: 5.285 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.547, allocations: 55.41 kB / 0.716 GB, free: 5.219 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.5472, allocations: 109.8 kB / 0.7161 GB, free: 5.102 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.5472, allocations: 29.7 kB / 0.7162 GB, free: 5.066 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.5473, allocations: 104 kB / 0.7163 GB, free: 4.961 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.149e-05/0.5474, allocations: 75.38 kB / 0.7163 GB, free: 4.887 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.5475, allocations: 49.7 kB / 0.7164 GB, free: 4.832 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.5477, allocations: 326.8 kB / 0.7167 GB, free: 4.504 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.5479, allocations: 63.97 kB / 0.7168 GB, free: 4.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.5481, allocations: 118.8 kB / 0.7169 GB, free: 4.316 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/0.5484, allocations: 185.8 kB / 0.717 GB, free: 4.125 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5484, allocations: 0 / 0.717 GB, free: 4.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00056/0.549, allocations: 250.4 kB / 0.7173 GB, free: 3.871 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.549, allocations: 8 kB / 0.7173 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.549, allocations: 4 kB / 0.7173 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.5493, allocations: 52.83 kB / 0.7173 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.5496, allocations: 51.91 kB / 0.7174 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000499/0.5501, allocations: 0.5604 MB / 0.7179 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.5503, allocations: 12.12 kB / 0.718 GB, free: 3.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.5503, allocations: 27.98 kB / 0.718 GB, free: 3.129 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.0001548/0.5505, allocations: 125.8 kB / 0.7181 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.5505, allocations: 11.89 kB / 0.7181 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008824/0.5514, allocations: 349.4 kB / 0.7184 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.5514, allocations: 7.938 kB / 0.7185 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.5514, allocations: 4 kB / 0.7185 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.5514, allocations: 3.984 kB / 0.7185 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.5526, allocations: 0.591 MB / 0.719 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5526, allocations: 4 kB / 0.719 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.5529, allocations: 55.95 kB / 0.7191 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-05/0.553, allocations: 24.94 kB / 0.7191 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.553, allocations: 19.92 kB / 0.7191 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.5541, allocations: 1.26 MB / 0.7204 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5541, allocations: 3.938 kB / 0.7204 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007898/0.5549, allocations: 430.7 kB / 0.7208 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.5549, allocations: 7.984 kB / 0.7208 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.555, allocations: 11.94 kB / 0.7208 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.5552, allocations: 11.98 kB / 0.7208 GB, free: 12 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.5553, allocations: 27.91 kB / 0.7208 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/0.5553, allocations: 31.92 kB / 0.7209 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.186e-05/0.5554, allocations: 95.33 kB / 0.721 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5554, allocations: 0 / 0.721 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004649/0.5559, allocations: 79.94 kB / 0.721 GB, free: 15.78 MB / 0.5606 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.001391/0.5573, allocations: 1.004 MB / 0.722 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005437/0.5578, allocations: 191.7 kB / 0.7222 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.5578, allocations: 4 kB / 0.7222 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003794/0.5582, allocations: 216.6 kB / 0.7224 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.5587, allocations: 43.23 kB / 0.7225 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.5623, allocations: 2.1 MB / 0.7245 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.5628, allocations: 0.7085 MB / 0.7252 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003237/0.5631, allocations: 77.38 kB / 0.7253 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.5633, allocations: 71.41 kB / 0.7253 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.5633, allocations: 0 / 0.7253 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.5968, allocations: 7.562 MB / 0.7327 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.53, allocations: 10.25 kB / 0.7327 GB, free: 3.758 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.86669279099442]