Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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.0009288/0.0009288, allocations: 80.8 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009657/0.0009657, allocations: 168.3 kB / 24.92 MB, free: 8.68 MB / 18.57 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2613/0.2613, allocations: 32.81 MB / 294.6 MB, free: 1.23 MB / 266.7 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: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 3.938 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.794e-05, allocations: 3.297 kB / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.342/0.3421, allocations: 131.4 MB / 454.7 MB, free: 17.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.3457, allocations: 4.873 MB / 459.6 MB, free: 17.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.3458, allocations: 3.188 kB / 459.6 MB, free: 17.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.3462, allocations: 65.19 kB / 459.7 MB, free: 17.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.348, allocations: 0.7838 MB / 460.4 MB, free: 17.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.3483, allocations: 158.1 kB / 460.6 MB, free: 17.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005216/0.3488, allocations: 401.7 kB / 461 MB, free: 17.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.3489, allocations: 12.75 kB / 461 MB, free: 17.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.3491, allocations: 212.7 kB / 461.2 MB, free: 17.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.3493, allocations: 174 kB / 461.4 MB, free: 17.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.3494, allocations: 8.938 kB / 461.4 MB, free: 17.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009948/0.3504, allocations: 0.645 MB / 462 MB, free: 17.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.359e-05/0.3504, allocations: 47.62 kB / 462.1 MB, free: 17.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.945e-05/0.3505, allocations: 85.28 kB / 462.2 MB, free: 17.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006025/0.3511, allocations: 477.2 kB / 462.6 MB, free: 17.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3511, allocations: 0 / 462.6 MB, free: 17.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3511, allocations: 0 / 462.6 MB, free: 17.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.3512, allocations: 0 / 462.6 MB, free: 17.03 MB / 410.7 MB 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.0007613/0.3519, allocations: 0.5199 MB / 463.2 MB, free: 16.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.352, allocations: 8.875 kB / 463.2 MB, free: 16.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.3521, allocations: 50.08 kB / 463.2 MB, free: 16.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.3524, allocations: 162.7 kB / 463.4 MB, free: 16.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.3525, allocations: 231.1 kB / 463.6 MB, free: 16.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.3525, allocations: 24.34 kB / 463.6 MB, free: 16.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.3528, allocations: 422.8 kB / 464 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.3528, allocations: 2.469 kB / 464 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.3529, allocations: 18.22 kB / 464.1 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/0.3529, allocations: 5.781 kB / 464.1 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.3533, allocations: 441.8 kB / 464.5 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008638/0.3541, allocations: 0.8595 MB / 465.3 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.3544, allocations: 167.9 kB / 465.5 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.909e-05/0.3545, allocations: 50.02 kB / 465.6 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009764/0.3554, allocations: 0.7174 MB / 466.3 MB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.3555, allocations: 40.84 kB / 466.3 MB, free: 14.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.224e-06/0.3555, allocations: 4 kB / 466.3 MB, free: 14.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003348/0.3558, allocations: 167.7 kB / 466.5 MB, free: 14.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/0.3558, allocations: 54.06 kB / 466.5 MB, free: 14.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3559, allocations: 231.5 kB / 466.8 MB, free: 14.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.3559, allocations: 28.8 kB / 466.8 MB, free: 14.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.356, allocations: 223.7 kB / 467 MB, free: 14.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.356, allocations: 56.2 kB / 467.1 MB, free: 14.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.3561, allocations: 77.19 kB / 467.1 MB, free: 14.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.005e-05/0.3561, allocations: 331.7 kB / 467.5 MB, free: 14.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.821e-05/0.3562, allocations: 39.28 kB / 467.5 MB, free: 14.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.3563, allocations: 294.4 kB / 467.8 MB, free: 13.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.3565, allocations: 406.5 kB / 468.2 MB, free: 13.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3565, allocations: 2.438 kB / 468.2 MB, free: 13.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002625/0.3568, allocations: 298.9 kB / 468.5 MB, free: 13.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3568, allocations: 13.41 kB / 468.5 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.3568, allocations: 9.406 kB / 468.5 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.3569, allocations: 11.78 kB / 468.5 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.3571, allocations: 111 kB / 468.6 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.3571, allocations: 19.44 kB / 468.6 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.3572, allocations: 51.56 kB / 468.7 MB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.3573, allocations: 20.56 kB / 468.7 MB, free: 13.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.469e-05/0.3573, allocations: 149.8 kB / 468.9 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.3574, allocations: 21.34 kB / 468.9 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.3575, allocations: 130.7 kB / 469 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.3575, allocations: 3.297 kB / 469 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.3576, allocations: 0 / 469 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3576, allocations: 0 / 469 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.3578, allocations: 316.4 kB / 469.3 MB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3578, allocations: 4.031 kB / 469.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.148e-05/0.3579, allocations: 35.66 kB / 469.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3579, allocations: 0 / 469.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.3579, allocations: 2.812 kB / 469.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3579, allocations: 5.75 kB / 469.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3579, allocations: 0 / 469.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.622e-05/0.358, allocations: 232.1 kB / 469.6 MB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.358, allocations: 23.44 kB / 469.6 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.358, allocations: 9.75 kB / 469.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/0.3581, allocations: 15.17 kB / 469.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.3581, allocations: 9.812 kB / 469.7 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3582, allocations: 8.812 kB / 469.7 MB, free: 12.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.436e-05/0.3582, allocations: 67.98 kB / 469.7 MB, free: 12.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3582, allocations: 0 / 469.7 MB, free: 12.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002935/0.3585, allocations: 96.03 kB / 469.8 MB, free: 12.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002059/0.3587, allocations: 136.1 kB / 470 MB, free: 12.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.3589, allocations: 162.7 kB / 470.1 MB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.3589, allocations: 6.312 kB / 470.1 MB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.276e-05/0.3589, allocations: 31.45 kB / 470.1 MB, free: 12.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.3591, allocations: 45.61 kB / 470.2 MB, free: 12.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008305/0.36, allocations: 498.8 kB / 470.7 MB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.415e-05/0.36, allocations: 74.47 kB / 470.8 MB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.3601, allocations: 61.7 kB / 470.8 MB, free: 12.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.3603, allocations: 120 kB / 470.9 MB, free: 12.17 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.3603, allocations: 0 / 470.9 MB, free: 12.17 MB / 410.7 MB Notification: Performance of Templates: time 0.005367/0.3656, allocations: 3.523 MB / 474.5 MB, free: 11.73 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","",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.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3955046627670527]