Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009795/0.0009795, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001227/0.001227, allocations: 171.8 kB / 24.92 MB, free: 8.723 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.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] 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.3102/0.3102, allocations: 34.26 MB / 296.1 MB, free: 0.625 MB / 266.7 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: 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.1.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.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.173e-05, allocations: 9.062 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3984/0.3984, allocations: 131.4 MB / 456.7 MB, free: 16.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003752/0.4022, allocations: 4.87 MB / 461.5 MB, free: 16.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.4023, allocations: 5.422 kB / 461.5 MB, free: 16.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.4026, allocations: 59.23 kB / 461.6 MB, free: 16.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.4043, allocations: 0.8057 MB / 462.4 MB, free: 16.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.4046, allocations: 162 kB / 462.6 MB, free: 16.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004946/0.4051, allocations: 401.4 kB / 463 MB, free: 16.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.4051, allocations: 8.344 kB / 463 MB, free: 16.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.4053, allocations: 219.6 kB / 463.2 MB, free: 16.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.4055, allocations: 169.3 kB / 463.3 MB, free: 16.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.4056, allocations: 10.66 kB / 463.4 MB, free: 16.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000766/0.4063, allocations: 0.6241 MB / 464 MB, free: 16.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.936e-05/0.4064, allocations: 43.78 kB / 464 MB, free: 16.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.691e-05/0.4065, allocations: 90.02 kB / 464.1 MB, free: 16.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000578/0.4071, allocations: 480.1 kB / 464.6 MB, free: 16.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4071, allocations: 0 / 464.6 MB, free: 16.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4071, allocations: 0 / 464.6 MB, free: 16.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.4071, allocations: 0 / 464.6 MB, free: 16.63 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.0006996/0.4078, allocations: 0.5135 MB / 465.1 MB, free: 16.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.4078, allocations: 8.812 kB / 465.1 MB, free: 16.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.4079, allocations: 53.95 kB / 465.2 MB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.4081, allocations: 163.6 kB / 465.3 MB, free: 16.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/0.4082, allocations: 225.2 kB / 465.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.4082, allocations: 25.03 kB / 465.6 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.4085, allocations: 423.2 kB / 466 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4085, allocations: 7.703 kB / 466 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.4085, allocations: 16.09 kB / 466 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.4085, allocations: 6.344 kB / 466 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.4088, allocations: 440.7 kB / 466.4 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006856/0.4095, allocations: 0.8623 MB / 467.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.4097, allocations: 167 kB / 467.5 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/0.4098, allocations: 49.73 kB / 467.5 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007846/0.4106, allocations: 0.7211 MB / 468.2 MB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.4106, allocations: 40.75 kB / 468.3 MB, free: 14.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.4106, allocations: 0 / 468.3 MB, free: 14.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002594/0.4108, allocations: 169.6 kB / 468.4 MB, free: 14.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.4109, allocations: 54.34 kB / 468.5 MB, free: 14.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.411, allocations: 235.9 kB / 468.7 MB, free: 14.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.411, allocations: 25.7 kB / 468.7 MB, free: 14.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.4111, allocations: 218.9 kB / 469 MB, free: 14.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.4111, allocations: 55.44 kB / 469 MB, free: 14.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.4111, allocations: 80.09 kB / 469.1 MB, free: 14.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.121e-05/0.4112, allocations: 328.2 kB / 469.4 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.388e-05/0.4112, allocations: 35.83 kB / 469.4 MB, free: 13.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.4114, allocations: 302.2 kB / 469.7 MB, free: 13.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.4116, allocations: 396.3 kB / 470.1 MB, free: 13.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4116, allocations: 7.094 kB / 470.1 MB, free: 13 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002357/0.4119, allocations: 291.2 kB / 470.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4119, allocations: 14.69 kB / 470.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.4119, allocations: 8.562 kB / 470.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4119, allocations: 11.5 kB / 470.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.4121, allocations: 109.1 kB / 470.6 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4121, allocations: 16.88 kB / 470.6 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.4122, allocations: 51.72 kB / 470.6 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.4122, allocations: 22.72 kB / 470.6 MB, free: 12.93 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 6.587e-05/0.4123, allocations: 148.7 kB / 470.8 MB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.4123, allocations: 22.2 kB / 470.8 MB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.4125, allocations: 129.2 kB / 470.9 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4125, allocations: 0 / 470.9 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.4125, allocations: 0 / 470.9 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4125, allocations: 2.531 kB / 470.9 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.4127, allocations: 317.3 kB / 471.2 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4127, allocations: 4.031 kB / 471.3 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.43e-05/0.4127, allocations: 29.2 kB / 471.3 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4127, allocations: 0 / 471.3 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.4127, allocations: 6.312 kB / 471.3 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4127, allocations: 0 / 471.3 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4127, allocations: 2.344 kB / 471.3 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.938e-05/0.4128, allocations: 231.1 kB / 471.5 MB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.4129, allocations: 24.8 kB / 471.5 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.4129, allocations: 13.09 kB / 471.6 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.413, allocations: 11.23 kB / 471.6 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.413, allocations: 6.047 kB / 471.6 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.413, allocations: 8.969 kB / 471.6 MB, free: 12.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.065e-05/0.413, allocations: 67 kB / 471.6 MB, free: 12.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.413, allocations: 4 kB / 471.6 MB, free: 12.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000272/0.4133, allocations: 97.86 kB / 471.7 MB, free: 12.27 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.0001946/0.4135, allocations: 132.8 kB / 471.9 MB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.4137, allocations: 161.9 kB / 472 MB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.537e-06/0.4137, allocations: 4.219 kB / 472 MB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.4137, allocations: 34.78 kB / 472.1 MB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.4139, allocations: 51.52 kB / 472.1 MB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008006/0.4147, allocations: 0.4977 MB / 472.6 MB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.369e-05/0.4148, allocations: 72.52 kB / 472.7 MB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.4149, allocations: 51.62 kB / 472.7 MB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.415, allocations: 116.5 kB / 472.9 MB, free: 11.78 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.415, allocations: 4 kB / 472.9 MB, free: 11.78 MB / 410.7 MB Notification: Performance of Templates: time 0.005013/0.42, allocations: 3.534 MB / 476.4 MB, free: 11.33 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6148730721324682]