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.001339/0.001339, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.001468/0.001468, allocations: 219 kB / 21.46 MB, free: 1.586 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.512/1.512, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2322/0.2322, allocations: 44.91 MB / 355.8 MB, free: 12.34 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",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.002158/0.002158, allocations: 69.92 kB / 0.4885 GB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1466, allocations: 65.41 MB / 0.5524 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4838/0.6303, allocations: 152.7 MB / 0.7015 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.6319, allocations: 0.9734 MB / 0.7025 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.708e-05/0.632, allocations: 0 / 0.7025 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.6323, allocations: 27.77 kB / 0.7025 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008959/0.6332, allocations: 258.8 kB / 0.7028 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.6336, allocations: 115.6 kB / 0.7029 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.6339, allocations: 163.3 kB / 0.703 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.634, allocations: 11.92 kB / 0.703 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.6342, allocations: 95.62 kB / 0.7031 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.6343, allocations: 51.77 kB / 0.7032 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.6344, allocations: 8 kB / 0.7032 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006135/0.635, allocations: 271.7 kB / 0.7034 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.635, allocations: 17.8 kB / 0.7035 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.686e-05/0.6351, allocations: 51.78 kB / 0.7035 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000574/0.6357, allocations: 281.5 kB / 0.7038 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.6357, allocations: 0 / 0.7038 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6357, allocations: 3.938 kB / 0.7038 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.6357, allocations: 0 / 0.7038 GB, free: 12.15 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.0006996/0.6364, allocations: 414.9 kB / 0.7042 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6365, allocations: 12.03 kB / 0.7042 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.588e-05/0.6365, allocations: 4.188 kB / 0.7042 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.6365, allocations: 38.75 kB / 0.7042 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/0.6388, allocations: 193.1 kB / 0.7044 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.6392, allocations: 211.6 kB / 0.7046 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.6392, allocations: 8 kB / 0.7046 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.6392, allocations: 12 kB / 0.7046 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.6398, allocations: 222.1 kB / 0.7048 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.6398, allocations: 0 / 0.7048 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.6398, allocations: 3.938 kB / 0.7049 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.6398, allocations: 4 kB / 0.7049 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.6403, allocations: 175.9 kB / 0.705 GB, free: 10.77 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.001137/0.6415, allocations: 0.5692 MB / 0.7056 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.6418, allocations: 132.5 kB / 0.7057 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.642, allocations: 76.81 kB / 0.7058 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.642, allocations: 7.984 kB / 0.7058 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.642, allocations: 34.56 kB / 0.7058 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.642, allocations: 0 / 0.7058 GB, free: 9.883 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.005721/0.6477, allocations: 1.302 MB / 0.7071 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.6478, allocations: 58.41 kB / 0.7071 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.6479, allocations: 119.3 kB / 0.7073 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.6479, allocations: 25.7 kB / 0.7073 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.648, allocations: 99.98 kB / 0.7074 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.6481, allocations: 71.38 kB / 0.7074 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.6482, allocations: 53.69 kB / 0.7075 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6483, allocations: 330.8 kB / 0.7078 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.6485, allocations: 63.97 kB / 0.7079 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.6487, allocations: 114.3 kB / 0.708 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.6491, allocations: 182 kB / 0.7082 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6491, allocations: 0 / 0.7082 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005548/0.6496, allocations: 257.3 kB / 0.7084 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.6497, allocations: 8 kB / 0.7084 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.6497, allocations: 0 / 0.7084 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.6499, allocations: 48.92 kB / 0.7085 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.6502, allocations: 63.89 kB / 0.7085 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005056/0.6507, allocations: 0.5601 MB / 0.7091 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.6509, allocations: 12.02 kB / 0.7091 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.651, allocations: 24 kB / 0.7091 GB, free: 6.34 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.0001453/0.6511, allocations: 124.1 kB / 0.7092 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.6512, allocations: 15.89 kB / 0.7092 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008199/0.652, allocations: 346.5 kB / 0.7096 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.652, allocations: 4 kB / 0.7096 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.652, allocations: 0 / 0.7096 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.652, allocations: 0 / 0.7096 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.6531, allocations: 0.6385 MB / 0.7102 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6531, allocations: 0 / 0.7102 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.6535, allocations: 59.89 kB / 0.7102 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.152e-05/0.6536, allocations: 24.8 kB / 0.7103 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.6536, allocations: 19.92 kB / 0.7103 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.6548, allocations: 1.368 MB / 0.7116 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6548, allocations: 4.062 kB / 0.7116 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007963/0.6556, allocations: 435.7 kB / 0.712 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.6556, allocations: 85.09 kB / 0.7121 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.6557, allocations: 13.25 kB / 0.7121 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.6559, allocations: 4 kB / 0.7121 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.656, allocations: 23.97 kB / 0.7122 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.844e-05/0.656, allocations: 31.98 kB / 0.7122 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.943e-05/0.6561, allocations: 87.25 kB / 0.7123 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6561, allocations: 0 / 0.7123 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004775/0.6565, allocations: 83.88 kB / 0.7124 GB, free: 2.73 MB / 0.5137 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.001431/0.658, allocations: 1.012 MB / 0.7133 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000573/0.6585, allocations: 203.9 kB / 0.7135 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6585, allocations: 4 kB / 0.7135 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.659, allocations: 214.5 kB / 0.7138 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.6594, allocations: 51.05 kB / 0.7138 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.6624, allocations: 2.073 MB / 0.7158 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.6627, allocations: 0.7046 MB / 0.7165 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003091/0.663, allocations: 85.7 kB / 0.7166 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.6632, allocations: 63.41 kB / 0.7167 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.6632, allocations: 0 / 0.7167 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04503/0.7083, allocations: 7.386 MB / 0.7239 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.22, allocations: 6.562 kB / 0.7239 GB, free: 6.871 MB / 0.5294 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.549847304995637]