Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.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: 120.1 kB / 18.49 MB, free: 4.586 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.001493/0.001493, allocations: 215 kB / 21.45 MB, free: 1.641 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.476/1.476, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2287/0.2287, allocations: 44.9 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.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",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.001984/0.001984, allocations: 67.89 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1344, allocations: 65.42 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4796/0.614, allocations: 153.5 MB / 0.7023 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006985/0.621, allocations: 5.161 MB / 0.7074 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.6212, allocations: 4 kB / 0.7074 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.6215, allocations: 55.59 kB / 0.7074 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00352/0.625, allocations: 1.195 MB / 0.7086 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.6254, allocations: 158.8 kB / 0.7088 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007225/0.6261, allocations: 394.1 kB / 0.7091 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.173e-05/0.6261, allocations: 13.67 kB / 0.7091 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.6265, allocations: 171.3 kB / 0.7093 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000429/0.6269, allocations: 175.5 kB / 0.7095 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.627, allocations: 8 kB / 0.7095 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.6295, allocations: 1.046 MB / 0.7105 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.6296, allocations: 39.83 kB / 0.7105 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.6298, allocations: 111.5 kB / 0.7106 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.6321, allocations: 0.8515 MB / 0.7115 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.6321, allocations: 0 / 0.7115 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6321, allocations: 0 / 0.7115 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.6321, allocations: 0 / 0.7115 GB, free: 4.289 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001682/0.6338, allocations: 0.7008 MB / 0.7122 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.6338, allocations: 8.031 kB / 0.7122 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.965e-05/0.6339, allocations: 12.75 kB / 0.7122 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.562e-05/0.6339, allocations: 58.72 kB / 0.7122 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008453/0.6424, allocations: 0.6059 MB / 0.7128 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005575/0.643, allocations: 267.4 kB / 0.7131 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.6431, allocations: 119.4 kB / 0.7132 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.6432, allocations: 24 kB / 0.7132 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.6446, allocations: 0.5634 MB / 0.7138 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.6446, allocations: 3.938 kB / 0.7138 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.27e-05/0.6447, allocations: 12 kB / 0.7138 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.6448, allocations: 12 kB / 0.7138 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.6464, allocations: 0.6299 MB / 0.7144 GB, free: 1.125 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.002567/0.649, allocations: 1.715 MB / 0.7161 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.6494, allocations: 152.7 kB / 0.7162 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.6495, allocations: 68.83 kB / 0.7163 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008084/0.6504, allocations: 0.6965 MB / 0.717 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.6504, allocations: 34.56 kB / 0.717 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 4.117e-06/0.6504, allocations: 11.92 kB / 0.717 GB, free: 14.18 MB / 0.5294 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=17): time 0.00113/0.6515, allocations: 319.4 kB / 0.7173 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.6516, allocations: 59.41 kB / 0.7174 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.6518, allocations: 195 kB / 0.7176 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.6518, allocations: 29.7 kB / 0.7176 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.652, allocations: 191.8 kB / 0.7178 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/0.6521, allocations: 67.45 kB / 0.7178 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.6523, allocations: 98 kB / 0.7179 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.6525, allocations: 322.8 kB / 0.7182 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.6527, allocations: 68.7 kB / 0.7183 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.653, allocations: 267.8 kB / 0.7186 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000538/0.6536, allocations: 367.6 kB / 0.7189 GB, free: 12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.371e-06/0.6536, allocations: 4 kB / 0.7189 GB, free: 12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006958/0.6543, allocations: 374.3 kB / 0.7193 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.6543, allocations: 8 kB / 0.7193 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.6543, allocations: 11.94 kB / 0.7193 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.6543, allocations: 12.03 kB / 0.7193 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.6547, allocations: 123.8 kB / 0.7194 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004502/0.6552, allocations: 0.6055 MB / 0.72 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.6555, allocations: 46.11 kB / 0.7201 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.628e-05/0.6555, allocations: 43.98 kB / 0.7201 GB, free: 10.76 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.6557, allocations: 153.6 kB / 0.7203 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.593e-05/0.6558, allocations: 15.91 kB / 0.7203 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008862/0.6567, allocations: 435 kB / 0.7207 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.6567, allocations: 0 / 0.7207 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.6567, allocations: 0 / 0.7207 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6567, allocations: 0 / 0.7207 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009973/0.6577, allocations: 0.6266 MB / 0.7213 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.6577, allocations: 7.984 kB / 0.7213 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.6579, allocations: 55.97 kB / 0.7214 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.6579, allocations: 4.875 kB / 0.7214 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.6579, allocations: 11.94 kB / 0.7214 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003926/0.6583, allocations: 0.5979 MB / 0.722 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6583, allocations: 4 kB / 0.722 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.6588, allocations: 289.3 kB / 0.7222 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.6589, allocations: 112.9 kB / 0.7223 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.6589, allocations: 7.953 kB / 0.7224 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.6592, allocations: 15.92 kB / 0.7224 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.6593, allocations: 19.98 kB / 0.7224 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.6593, allocations: 23.92 kB / 0.7224 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001465/0.6595, allocations: 140.2 kB / 0.7225 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6595, allocations: 0 / 0.7225 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007141/0.6602, allocations: 151.7 kB / 0.7227 GB, free: 7.926 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/0.6614, allocations: 0.9462 MB / 0.7236 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006063/0.6621, allocations: 225.5 kB / 0.7238 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6621, allocations: 0 / 0.7238 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.6623, allocations: 86.84 kB / 0.7239 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005666/0.6628, allocations: 61.52 kB / 0.724 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004341/0.6672, allocations: 2.878 MB / 0.7268 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.6676, allocations: 0.7285 MB / 0.7275 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007271/0.6683, allocations: 389.2 kB / 0.7279 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.6685, allocations: 95.31 kB / 0.728 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.6685, allocations: 0 / 0.728 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.6993, allocations: 7.479 MB / 0.7353 GB, free: 10.85 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.91, allocations: 7.812 kB / 0.7353 GB, free: 10.84 MB / 0.545 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.225951986038126]