Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009725/0.0009725, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001065/0.001065, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9904/0.9904, allocations: 158.6 MB / 186 MB, free: 2.473 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1287/0.1287, allocations: 32.37 MB / 270.7 MB, free: 14.58 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.076e-05, allocations: 2.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.2878/0.2878, allocations: 128.5 MB / 427.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003818/0.2916, allocations: 4.858 MB / 432.5 MB, free: 8.445 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.2917, allocations: 0 / 432.5 MB, free: 8.445 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.2921, allocations: 67.53 kB / 432.5 MB, free: 8.379 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.2938, allocations: 0.7924 MB / 433.3 MB, free: 7.582 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.2941, allocations: 163.7 kB / 433.5 MB, free: 7.422 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004724/0.2946, allocations: 397.8 kB / 433.9 MB, free: 7.031 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.2946, allocations: 10.47 kB / 433.9 MB, free: 7.023 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.2949, allocations: 211.4 kB / 434.1 MB, free: 6.816 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.2951, allocations: 175.6 kB / 434.3 MB, free: 6.645 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.2951, allocations: 8 kB / 434.3 MB, free: 6.637 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009951/0.2961, allocations: 0.612 MB / 434.9 MB, free: 6.023 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.2962, allocations: 51.77 kB / 434.9 MB, free: 5.973 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.276e-05/0.2962, allocations: 87.75 kB / 435 MB, free: 5.887 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006218/0.2969, allocations: 462.6 kB / 435.5 MB, free: 5.434 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2969, allocations: 0 / 435.5 MB, free: 5.434 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2969, allocations: 0 / 435.5 MB, free: 5.434 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.2969, allocations: 0 / 435.5 MB, free: 5.434 MB / 394.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.0007716/0.2977, allocations: 0.5006 MB / 436 MB, free: 4.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2977, allocations: 12.03 kB / 436 MB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.2978, allocations: 56.73 kB / 436.1 MB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.298, allocations: 161.5 kB / 436.2 MB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.2982, allocations: 222.7 kB / 436.4 MB, free: 4.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.2982, allocations: 24.38 kB / 436.5 MB, free: 4.371 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.2985, allocations: 438.1 kB / 436.9 MB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2985, allocations: 192 / 436.9 MB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.2985, allocations: 11.94 kB / 436.9 MB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.2986, allocations: 8 kB / 436.9 MB, free: 3.848 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.2989, allocations: 433.5 kB / 437.3 MB, free: 3.426 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008266/0.2997, allocations: 0.861 MB / 438.2 MB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.3, allocations: 173.2 kB / 438.4 MB, free: 2.348 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.3, allocations: 53.48 kB / 438.4 MB, free: 2.293 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000844/0.3009, allocations: 0.7151 MB / 439.1 MB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3009, allocations: 34.56 kB / 439.2 MB, free: 1.523 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.3009, allocations: 4 kB / 439.2 MB, free: 1.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002334/0.3011, allocations: 170.1 kB / 439.3 MB, free: 1.348 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.3012, allocations: 51.41 kB / 439.4 MB, free: 1.285 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.3013, allocations: 231.2 kB / 439.6 MB, free: 1.047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.3013, allocations: 29.7 kB / 439.6 MB, free: 1.012 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.3014, allocations: 215.5 kB / 439.8 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.3014, allocations: 55.58 kB / 439.9 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/0.3015, allocations: 82.11 kB / 440 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3016, allocations: 342.7 kB / 440.3 MB, free: 320 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.3016, allocations: 31.81 kB / 440.3 MB, free: 288 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.3018, allocations: 308 kB / 440.6 MB, free: 15.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.3021, allocations: 407.3 kB / 441 MB, free: 15.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.3021, allocations: 4 kB / 441 MB, free: 15.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003112/0.3024, allocations: 302.5 kB / 441.3 MB, free: 15.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.3024, allocations: 11.98 kB / 441.4 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.3024, allocations: 12 kB / 441.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.3025, allocations: 12 kB / 441.4 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.3027, allocations: 103.8 kB / 441.5 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-05/0.3027, allocations: 23.92 kB / 441.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.3029, allocations: 55.56 kB / 441.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.3029, allocations: 24 kB / 441.6 MB, free: 14.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 9.116e-05/0.303, allocations: 148.4 kB / 441.7 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.303, allocations: 16.08 kB / 441.7 MB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.3032, allocations: 127.2 kB / 441.9 MB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.3032, allocations: 0 / 441.9 MB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.3032, allocations: 3.375 kB / 441.9 MB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3032, allocations: 0 / 441.9 MB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.3034, allocations: 323.3 kB / 442.2 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3034, allocations: 0 / 442.2 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.581e-05/0.3035, allocations: 35.89 kB / 442.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3035, allocations: 0 / 442.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.3035, allocations: 4 kB / 442.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3035, allocations: 0 / 442.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3035, allocations: 0 / 442.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.3036, allocations: 224.6 kB / 442.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.3037, allocations: 31.72 kB / 442.5 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.3037, allocations: 8 kB / 442.5 MB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.3038, allocations: 12.02 kB / 442.5 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.3038, allocations: 15.92 kB / 442.5 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.3038, allocations: 4 kB / 442.5 MB, free: 13.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.54e-05/0.3039, allocations: 66.78 kB / 442.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3039, allocations: 0 / 442.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002898/0.3042, allocations: 95.86 kB / 442.7 MB, free: 13.61 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.0002137/0.3044, allocations: 136.3 kB / 442.8 MB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.3045, allocations: 162.6 kB / 443 MB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/0.3046, allocations: 4.5 kB / 443 MB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.297e-05/0.3046, allocations: 32.78 kB / 443 MB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.3048, allocations: 51.19 kB / 443 MB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008013/0.3056, allocations: 468 kB / 443.5 MB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.149e-05/0.3056, allocations: 72.33 kB / 443.6 MB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.3058, allocations: 67.09 kB / 443.6 MB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.3059, allocations: 117.3 kB / 443.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3059, allocations: 0 / 443.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of Templates: time 0.005136/0.3111, allocations: 3.473 MB / 447.2 MB, free: 9.051 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5740681560710073]