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.001784/0.001784, 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.002276/0.002276, allocations: 205.2 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2206/0.2206, allocations: 44.91 MB / 359.6 MB, free: 6.297 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.002119/0.002119, allocations: 67.84 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3439, allocations: 65.47 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1886/0.5326, allocations: 153.5 MB / 0.7077 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006872/0.5394, allocations: 5.17 MB / 0.7128 GB, free: 8.484 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.5396, allocations: 7.938 kB / 0.7128 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.54, allocations: 55.58 kB / 0.7128 GB, free: 8.422 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003882/0.5438, allocations: 1.222 MB / 0.714 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.5442, allocations: 147.1 kB / 0.7142 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006779/0.5449, allocations: 402.1 kB / 0.7146 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.5449, allocations: 9.797 kB / 0.7146 GB, free: 6.652 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003534/0.5453, allocations: 183.3 kB / 0.7147 GB, free: 6.473 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003705/0.5457, allocations: 175.5 kB / 0.7149 GB, free: 6.301 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.5457, allocations: 8 kB / 0.7149 GB, free: 6.293 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.548, allocations: 1.053 MB / 0.7159 GB, free: 5.238 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.5482, allocations: 47.77 kB / 0.716 GB, free: 5.191 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.5483, allocations: 107.5 kB / 0.7161 GB, free: 5.086 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.5502, allocations: 0.8532 MB / 0.7169 GB, free: 4.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5502, allocations: 4 kB / 0.7169 GB, free: 4.227 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5502, allocations: 0 / 0.7169 GB, free: 4.227 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.5502, allocations: 0 / 0.7169 GB, free: 4.227 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001655/0.5519, allocations: 0.6255 MB / 0.7175 GB, free: 3.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.5519, allocations: 8.031 kB / 0.7175 GB, free: 3.562 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.027e-05/0.552, allocations: 8.688 kB / 0.7176 GB, free: 3.551 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.594e-05/0.5521, allocations: 66.73 kB / 0.7176 GB, free: 3.477 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008041/0.5601, allocations: 0.6015 MB / 0.7182 GB, free: 2.875 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009441/0.561, allocations: 217.1 kB / 0.7184 GB, free: 2.637 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002665/0.5613, allocations: 234 kB / 0.7186 GB, free: 2.359 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/0.5615, allocations: 20 kB / 0.7187 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.563, allocations: 0.5626 MB / 0.7192 GB, free: 1.742 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.563, allocations: 0 / 0.7192 GB, free: 1.742 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.68e-05/0.5631, allocations: 12 kB / 0.7192 GB, free: 1.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.5632, allocations: 8 kB / 0.7192 GB, free: 1.723 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.5648, allocations: 0.6338 MB / 0.7198 GB, free: 1.086 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.002802/0.5676, allocations: 1.579 MB / 0.7214 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.568, allocations: 144.8 kB / 0.7215 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.5682, allocations: 72.88 kB / 0.7216 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007626/0.569, allocations: 387.8 kB / 0.722 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.569, allocations: 34.5 kB / 0.722 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 2.545e-06/0.569, allocations: 0 / 0.722 GB, free: 14.73 MB / 0.5606 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.001194/0.5702, allocations: 320.3 kB / 0.7223 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.5702, allocations: 55.41 kB / 0.7223 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.5705, allocations: 195 kB / 0.7225 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.5705, allocations: 33.7 kB / 0.7226 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.5707, allocations: 199.7 kB / 0.7228 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.424e-05/0.5707, allocations: 71.41 kB / 0.7228 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.5709, allocations: 94 kB / 0.7229 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.571, allocations: 326.8 kB / 0.7232 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.5712, allocations: 68.7 kB / 0.7233 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.5715, allocations: 260 kB / 0.7235 GB, free: 13 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/0.5721, allocations: 364.9 kB / 0.7239 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.5721, allocations: 8 kB / 0.7239 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007194/0.5728, allocations: 377.1 kB / 0.7243 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.5728, allocations: 11.94 kB / 0.7243 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5728, allocations: 8 kB / 0.7243 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.5728, allocations: 8 kB / 0.7243 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/0.5733, allocations: 127.8 kB / 0.7244 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004594/0.5737, allocations: 0.606 MB / 0.725 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.574, allocations: 43.67 kB / 0.725 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/0.5741, allocations: 43.98 kB / 0.7251 GB, free: 11.3 MB / 0.5606 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.0002407/0.5743, allocations: 153.5 kB / 0.7252 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.5744, allocations: 15.91 kB / 0.7252 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008683/0.5753, allocations: 433.1 kB / 0.7257 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5753, allocations: 0 / 0.7257 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5753, allocations: 0 / 0.7257 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.5753, allocations: 3.984 kB / 0.7257 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009274/0.5762, allocations: 0.5231 MB / 0.7262 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5762, allocations: 4 kB / 0.7262 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.5764, allocations: 63.89 kB / 0.7262 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.5764, allocations: 7.938 kB / 0.7262 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.5765, allocations: 4 kB / 0.7262 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003759/0.5768, allocations: 0.5938 MB / 0.7268 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/0.5768, allocations: 4.219 kB / 0.7268 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.5773, allocations: 308.2 kB / 0.7271 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.886e-05/0.5774, allocations: 35.81 kB / 0.7272 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.5774, allocations: 7.953 kB / 0.7272 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.5777, allocations: 11.98 kB / 0.7272 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.5777, allocations: 19.91 kB / 0.7272 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.5777, allocations: 27.92 kB / 0.7272 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001377/0.5779, allocations: 136.2 kB / 0.7274 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5779, allocations: 4 kB / 0.7274 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006699/0.5786, allocations: 151.7 kB / 0.7275 GB, free: 8.664 MB / 0.5606 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.001124/0.5797, allocations: 0.9458 MB / 0.7284 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006305/0.5803, allocations: 212.8 kB / 0.7286 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.5803, allocations: 4 kB / 0.7286 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.5806, allocations: 75.83 kB / 0.7287 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.5811, allocations: 73.11 kB / 0.7288 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.5851, allocations: 2.882 MB / 0.7316 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.5855, allocations: 0.7285 MB / 0.7323 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000713/0.5862, allocations: 389 kB / 0.7327 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.5864, allocations: 87.38 kB / 0.7328 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of SimCode: time 7.42e-07/0.5864, allocations: 0 / 0.7328 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2848/0.8712, allocations: 7.682 MB / 0.7403 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.6, allocations: 7.156 kB / 0.7403 GB, free: 177.1 MB / 0.5606 GB " [Timeout remaining time 646] (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.937006117019337]