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.001576/0.001576, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001987/0.001987, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 8 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.2328/0.2328, allocations: 44.92 MB / 358.8 MB, free: 6.383 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",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.002206/0.002206, allocations: 63.91 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3604, allocations: 65.47 MB / 0.5571 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1943/0.5548, allocations: 153.5 MB / 0.707 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007692/0.5625, allocations: 5.174 MB / 0.712 GB, free: 8.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.5627, allocations: 8 kB / 0.712 GB, free: 8.473 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.5631, allocations: 51.59 kB / 0.7121 GB, free: 8.422 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004107/0.5672, allocations: 1.219 MB / 0.7133 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.5675, allocations: 146.6 kB / 0.7134 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006783/0.5682, allocations: 410 kB / 0.7138 GB, free: 6.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.753e-05/0.5683, allocations: 9.797 kB / 0.7138 GB, free: 6.648 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.5686, allocations: 171.4 kB / 0.714 GB, free: 6.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003957/0.569, allocations: 175.4 kB / 0.7141 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.5691, allocations: 8 kB / 0.7141 GB, free: 6.301 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.5714, allocations: 1.057 MB / 0.7152 GB, free: 5.242 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-05/0.5715, allocations: 51.77 kB / 0.7152 GB, free: 5.191 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.5716, allocations: 107.6 kB / 0.7153 GB, free: 5.086 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.5735, allocations: 0.8532 MB / 0.7162 GB, free: 4.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5735, allocations: 0 / 0.7162 GB, free: 4.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5735, allocations: 4 kB / 0.7162 GB, free: 4.227 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.5735, allocations: 3.938 kB / 0.7162 GB, free: 4.223 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.001454/0.575, allocations: 0.6294 MB / 0.7168 GB, free: 3.562 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.575, allocations: 8.031 kB / 0.7168 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.536e-05/0.5751, allocations: 62.73 kB / 0.7168 GB, free: 3.484 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007715/0.5828, allocations: 0.6054 MB / 0.7174 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006112/0.5834, allocations: 217.4 kB / 0.7176 GB, free: 2.641 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.5836, allocations: 218.1 kB / 0.7178 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.5838, allocations: 27.98 kB / 0.7179 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.585, allocations: 0.5625 MB / 0.7184 GB, free: 1.754 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.5851, allocations: 7.938 kB / 0.7184 GB, free: 1.746 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.644e-05/0.5851, allocations: 12 kB / 0.7184 GB, free: 1.734 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.5852, allocations: 4 kB / 0.7184 GB, free: 1.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.5866, allocations: 0.6377 MB / 0.7191 GB, free: 1.09 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.002482/0.5891, allocations: 1.575 MB / 0.7206 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.5895, allocations: 156.7 kB / 0.7208 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.5897, allocations: 68.88 kB / 0.7208 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006393/0.5903, allocations: 379.9 kB / 0.7212 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.5903, allocations: 34.56 kB / 0.7212 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 2.124e-06/0.5903, allocations: 0 / 0.7212 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.001106/0.5914, allocations: 326.7 kB / 0.7215 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.5915, allocations: 51.41 kB / 0.7216 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.5917, allocations: 195.1 kB / 0.7218 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.5917, allocations: 29.7 kB / 0.7218 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.5919, allocations: 195.8 kB / 0.722 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.592, allocations: 71.45 kB / 0.722 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.5921, allocations: 94 kB / 0.7221 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5923, allocations: 330.8 kB / 0.7225 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.5924, allocations: 68.7 kB / 0.7225 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.5928, allocations: 260 kB / 0.7228 GB, free: 13 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/0.5933, allocations: 372.8 kB / 0.7231 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.5934, allocations: 0 / 0.7231 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007018/0.5941, allocations: 377 kB / 0.7235 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.5941, allocations: 11.94 kB / 0.7235 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.5941, allocations: 4 kB / 0.7235 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.5941, allocations: 12 kB / 0.7235 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.5945, allocations: 128.5 kB / 0.7236 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004425/0.595, allocations: 0.5977 MB / 0.7242 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.5952, allocations: 43.67 kB / 0.7243 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.18e-05/0.5953, allocations: 43.98 kB / 0.7243 GB, free: 11.31 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.0001988/0.5955, allocations: 153.5 kB / 0.7244 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.5956, allocations: 23.84 kB / 0.7245 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008685/0.5964, allocations: 429.1 kB / 0.7249 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.5965, allocations: 4 kB / 0.7249 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.5965, allocations: 4 kB / 0.7249 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5965, allocations: 3.984 kB / 0.7249 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009849/0.5975, allocations: 0.523 MB / 0.7254 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.5975, allocations: 4 kB / 0.7254 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.5977, allocations: 59.95 kB / 0.7255 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.5977, allocations: 0 / 0.7255 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.5977, allocations: 11.94 kB / 0.7255 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004217/0.5982, allocations: 0.5979 MB / 0.7261 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5982, allocations: 0 / 0.7261 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.5986, allocations: 300.1 kB / 0.7263 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.5987, allocations: 35.81 kB / 0.7264 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.5988, allocations: 7.953 kB / 0.7264 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.599, allocations: 15.98 kB / 0.7264 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.599, allocations: 19.86 kB / 0.7264 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.5991, allocations: 19.98 kB / 0.7264 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001464/0.5992, allocations: 144.2 kB / 0.7266 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5992, allocations: 0 / 0.7266 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006849/0.5999, allocations: 159.7 kB / 0.7267 GB, free: 8.668 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.001192/0.6011, allocations: 0.942 MB / 0.7276 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005376/0.6016, allocations: 220.1 kB / 0.7279 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6016, allocations: 0 / 0.7279 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.6018, allocations: 77.39 kB / 0.7279 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/0.6024, allocations: 66.64 kB / 0.728 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.6066, allocations: 2.882 MB / 0.7308 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.6071, allocations: 0.7362 MB / 0.7315 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007263/0.6078, allocations: 381 kB / 0.7319 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.608, allocations: 95.36 kB / 0.732 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.608, allocations: 0 / 0.732 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3007/0.9087, allocations: 7.651 MB / 0.7395 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.54, allocations: 1.094 kB / 0.7395 GB, free: 177.2 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.732068730983883]