Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001326/0.001326, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001585/0.001585, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.416/1.416, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2272/0.2272, allocations: 46.93 MB / 360.9 MB, free: 4.242 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.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 71.89 kB / 0.4962 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3193, allocations: 66.04 MB / 0.5607 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1975/0.5168, allocations: 153.5 MB / 0.7106 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006578/0.5234, allocations: 5.178 MB / 0.7156 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.5235, allocations: 0 / 0.7156 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.5238, allocations: 59.59 kB / 0.7157 GB, free: 5.098 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003691/0.5275, allocations: 1.222 MB / 0.7169 GB, free: 3.875 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.5279, allocations: 143.5 kB / 0.717 GB, free: 3.738 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006986/0.5286, allocations: 402.1 kB / 0.7174 GB, free: 3.344 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.217e-05/0.5286, allocations: 9.812 kB / 0.7174 GB, free: 3.332 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000365/0.529, allocations: 175.3 kB / 0.7176 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.5294, allocations: 179.4 kB / 0.7178 GB, free: 2.984 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.505e-05/0.5295, allocations: 8 kB / 0.7178 GB, free: 2.977 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.5318, allocations: 1.053 MB / 0.7188 GB, free: 1.922 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.5319, allocations: 47.77 kB / 0.7188 GB, free: 1.875 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.532, allocations: 115.5 kB / 0.7189 GB, free: 1.762 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.5342, allocations: 0.8571 MB / 0.7198 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5342, allocations: 0 / 0.7198 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5342, allocations: 0 / 0.7198 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.5342, allocations: 0 / 0.7198 GB, free: 0.9023 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.001569/0.5358, allocations: 0.6177 MB / 0.7204 GB, free: 260 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.5359, allocations: 12.03 kB / 0.7204 GB, free: 248 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.724e-05/0.5359, allocations: 66.72 kB / 0.7205 GB, free: 172 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007772/0.5437, allocations: 0.6015 MB / 0.721 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.5443, allocations: 213.3 kB / 0.7213 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.5446, allocations: 226.1 kB / 0.7215 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.5447, allocations: 27.92 kB / 0.7215 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.5461, allocations: 0.5665 MB / 0.722 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5461, allocations: 0 / 0.722 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-05/0.5462, allocations: 8 kB / 0.7221 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.5462, allocations: 4 kB / 0.7221 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.5478, allocations: 0.6377 MB / 0.7227 GB, free: 13.78 MB / 0.5606 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.003088/0.5509, allocations: 1.586 MB / 0.7242 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.5514, allocations: 142.5 kB / 0.7244 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.5515, allocations: 68.88 kB / 0.7244 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007595/0.5523, allocations: 383.8 kB / 0.7248 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.174e-05/0.5524, allocations: 38.56 kB / 0.7248 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 2.615e-06/0.5524, allocations: 0 / 0.7248 GB, free: 11.42 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.001271/0.5536, allocations: 325.9 kB / 0.7251 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.5537, allocations: 51.41 kB / 0.7252 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.5539, allocations: 195.1 kB / 0.7254 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.5539, allocations: 25.7 kB / 0.7254 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.5541, allocations: 195.8 kB / 0.7256 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.147e-05/0.5541, allocations: 79.33 kB / 0.7257 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.5543, allocations: 98 kB / 0.7258 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.5544, allocations: 326.8 kB / 0.7261 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.5546, allocations: 68.7 kB / 0.7261 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.5549, allocations: 260.1 kB / 0.7264 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005306/0.5555, allocations: 365 kB / 0.7267 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.5555, allocations: 4 kB / 0.7267 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007336/0.5562, allocations: 377.2 kB / 0.7271 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.5562, allocations: 11.94 kB / 0.7271 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.5562, allocations: 11.94 kB / 0.7271 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.5563, allocations: 12 kB / 0.7271 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.5567, allocations: 119.9 kB / 0.7272 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005594/0.5573, allocations: 0.6138 MB / 0.7278 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.5575, allocations: 39.67 kB / 0.7279 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.5576, allocations: 43.98 kB / 0.7279 GB, free: 7.988 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.0001958/0.5578, allocations: 147.2 kB / 0.7281 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/0.5579, allocations: 19.91 kB / 0.7281 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008856/0.5588, allocations: 433 kB / 0.7285 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5588, allocations: 4 kB / 0.7285 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5588, allocations: 0 / 0.7285 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.5588, allocations: 0 / 0.7285 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009133/0.5597, allocations: 0.5309 MB / 0.729 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.5597, allocations: 4 kB / 0.729 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.5599, allocations: 59.89 kB / 0.7291 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5599, allocations: 0 / 0.7291 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.56, allocations: 15.94 kB / 0.7291 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004064/0.5604, allocations: 0.59 MB / 0.7297 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5604, allocations: 4.188 kB / 0.7297 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.5608, allocations: 301.4 kB / 0.73 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.5609, allocations: 31.81 kB / 0.73 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.5609, allocations: 7.953 kB / 0.73 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.5612, allocations: 19.98 kB / 0.73 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.5612, allocations: 19.86 kB / 0.73 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.5613, allocations: 15.98 kB / 0.7301 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001532/0.5614, allocations: 144.2 kB / 0.7302 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5614, allocations: 4 kB / 0.7302 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006751/0.5621, allocations: 151.7 kB / 0.7303 GB, free: 5.355 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.001136/0.5632, allocations: 0.9485 MB / 0.7313 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005475/0.5638, allocations: 220.6 kB / 0.7315 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5638, allocations: 0 / 0.7315 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.564, allocations: 79.83 kB / 0.7316 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.5645, allocations: 65.02 kB / 0.7316 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/0.5687, allocations: 2.869 MB / 0.7344 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.5691, allocations: 0.7323 MB / 0.7351 GB, free: 72 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.2577/0.8267, allocations: 384.8 kB / 0.7355 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/0.827, allocations: 95.73 kB / 0.7356 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of SimCode: time 2.214e-06/0.827, allocations: 1.406 kB / 0.7356 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/0.8648, allocations: 7.669 MB / 0.7431 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.41, allocations: 0 / 0.7431 GB, free: 171.1 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.414106890792027]