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.001356/0.001356, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001438/0.001438, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.451/1.451, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2243/0.2243, allocations: 46.93 MB / 357.1 MB, free: 10.32 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003048/0.003048, allocations: 71.89 kB / 0.4909 GB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1806, allocations: 65.99 MB / 0.5554 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4755/0.6561, allocations: 152.7 MB / 0.7045 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.6577, allocations: 1.063 MB / 0.7055 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.844e-05/0.6578, allocations: 3.938 kB / 0.7055 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.6581, allocations: 35.83 kB / 0.7056 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0009555/0.6591, allocations: 270.5 kB / 0.7058 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.6595, allocations: 116.2 kB / 0.7059 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.6599, allocations: 183.2 kB / 0.7061 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.209e-05/0.6599, allocations: 3.938 kB / 0.7061 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.6602, allocations: 99.67 kB / 0.7062 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.6604, allocations: 63.7 kB / 0.7063 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.6604, allocations: 4 kB / 0.7063 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007153/0.6611, allocations: 273.2 kB / 0.7065 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.368e-05/0.6612, allocations: 15.97 kB / 0.7065 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.311e-05/0.6613, allocations: 43.8 kB / 0.7066 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006817/0.6619, allocations: 286.7 kB / 0.7069 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.662, allocations: 7.938 kB / 0.7069 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.964e-06/0.662, allocations: 0 / 0.7069 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.662, allocations: 0 / 0.7069 GB, free: 6.344 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.0006966/0.6627, allocations: 418.9 kB / 0.7073 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.6627, allocations: 8.031 kB / 0.7073 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.6628, allocations: 38.75 kB / 0.7073 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/0.665, allocations: 193.1 kB / 0.7075 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.6654, allocations: 211.8 kB / 0.7077 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.6654, allocations: 12 kB / 0.7077 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.6655, allocations: 8 kB / 0.7077 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.666, allocations: 224 kB / 0.7079 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.666, allocations: 0 / 0.7079 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.6661, allocations: 1.5 kB / 0.7079 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.6661, allocations: 4 kB / 0.7079 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.6665, allocations: 179.8 kB / 0.7081 GB, free: 4.965 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.001142/0.6677, allocations: 0.5615 MB / 0.7087 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.6681, allocations: 146.4 kB / 0.7088 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.6682, allocations: 64.83 kB / 0.7089 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.6682, allocations: 4.234 kB / 0.7089 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.6683, allocations: 42.5 kB / 0.7089 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.6683, allocations: 0 / 0.7089 GB, free: 4.074 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.005581/0.6739, allocations: 1.305 MB / 0.7102 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.6739, allocations: 58.03 kB / 0.7102 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.674, allocations: 117.8 kB / 0.7103 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.674, allocations: 25.7 kB / 0.7104 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.6741, allocations: 99.98 kB / 0.7105 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/0.6742, allocations: 71.41 kB / 0.7105 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.6743, allocations: 65.64 kB / 0.7106 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6744, allocations: 318.8 kB / 0.7109 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.6746, allocations: 63.97 kB / 0.711 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.6748, allocations: 114.6 kB / 0.7111 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.6752, allocations: 179.3 kB / 0.7112 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6752, allocations: 0 / 0.7112 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005421/0.6757, allocations: 261.2 kB / 0.7115 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.6757, allocations: 8 kB / 0.7115 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6757, allocations: 0 / 0.7115 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.6759, allocations: 52.92 kB / 0.7115 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.6763, allocations: 59.89 kB / 0.7116 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004621/0.6767, allocations: 0.5562 MB / 0.7121 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.6769, allocations: 12.02 kB / 0.7122 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/0.6769, allocations: 24 kB / 0.7122 GB, free: 0.5312 MB / 0.5137 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.0001298/0.6771, allocations: 128.1 kB / 0.7123 GB, free: 408 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.6771, allocations: 7.953 kB / 0.7123 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007797/0.6779, allocations: 355.7 kB / 0.7126 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.6779, allocations: 0 / 0.7126 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.6779, allocations: 0 / 0.7126 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6779, allocations: 3.938 kB / 0.7127 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.679, allocations: 0.6322 MB / 0.7133 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.679, allocations: 0 / 0.7133 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.6794, allocations: 63.83 kB / 0.7133 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.042e-05/0.6794, allocations: 28.78 kB / 0.7134 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.6795, allocations: 11.98 kB / 0.7134 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.6805, allocations: 1.372 MB / 0.7147 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6805, allocations: 0 / 0.7147 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007409/0.6813, allocations: 437.5 kB / 0.7151 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.6813, allocations: 85.09 kB / 0.7152 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.6814, allocations: 8 kB / 0.7152 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.6816, allocations: 4 kB / 0.7152 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.6816, allocations: 23.97 kB / 0.7152 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.6817, allocations: 31.98 kB / 0.7153 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.635e-05/0.6818, allocations: 83.27 kB / 0.7154 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6818, allocations: 0 / 0.7154 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004191/0.6822, allocations: 79.94 kB / 0.7154 GB, free: 12.94 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.001326/0.6835, allocations: 1.016 MB / 0.7164 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005269/0.684, allocations: 200 kB / 0.7166 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.684, allocations: 0 / 0.7166 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.6844, allocations: 220.1 kB / 0.7168 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.6849, allocations: 54.22 kB / 0.7169 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.6877, allocations: 2.071 MB / 0.7189 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.688, allocations: 0.7046 MB / 0.7196 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003043/0.6883, allocations: 81.33 kB / 0.7197 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.6885, allocations: 63.41 kB / 0.7197 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of SimCode: time 4.1e-07/0.6885, allocations: 0 / 0.7197 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03674/0.7253, allocations: 7.363 MB / 0.7269 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.68, allocations: 6.125 kB / 0.7269 GB, free: 1.086 MB / 0.5294 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: 17.046263775089756]