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.001065/0.001065, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001075/0.001075, allocations: 162.2 kB / 24.84 MB, free: 8.711 MB / 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.8845/0.8845, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.1411/0.1411, allocations: 32.39 MB / 271.5 MB, free: 14.41 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.194e-06/2.194e-06, allocations: 3.984 kB / 348.9 MB, free: 9.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.494e-05, allocations: 8.219 kB / 348.9 MB, free: 9.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.2869/0.2869, allocations: 126.6 MB / 475.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004587/0.2915, allocations: 4.806 MB / 480.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.2917, allocations: 0 / 480.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.2921, allocations: 68.73 kB / 480.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.2938, allocations: 0.7785 MB / 481.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.2941, allocations: 163.6 kB / 481.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004901/0.2946, allocations: 400.4 kB / 481.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.2947, allocations: 11.03 kB / 481.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.2949, allocations: 216.2 kB / 481.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.2952, allocations: 170.9 kB / 482.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.2952, allocations: 10.09 kB / 482.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.2962, allocations: 0.6149 MB / 482.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.081e-05/0.2963, allocations: 52.2 kB / 482.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.986e-05/0.2964, allocations: 82.8 kB / 482.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006935/0.2971, allocations: 458.5 kB / 483.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2971, allocations: 0 / 483.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2971, allocations: 0 / 483.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2971, allocations: 0 / 483.3 MB, free: 10.87 MB / 362.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.0007617/0.2979, allocations: 0.6261 MB / 483.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.2979, allocations: 10.69 kB / 483.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.2981, allocations: 54.45 kB / 484 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.2983, allocations: 176.5 kB / 484.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.198e-05/0.2984, allocations: 231.5 kB / 484.4 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.2984, allocations: 23.5 kB / 484.4 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.2987, allocations: 438.8 kB / 484.8 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2987, allocations: 384 / 484.8 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.2987, allocations: 13.5 kB / 484.9 MB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.2987, allocations: 9.531 kB / 484.9 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.2991, allocations: 462 kB / 485.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.2999, allocations: 1.193 MB / 486.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.3002, allocations: 145.3 kB / 486.7 MB, free: 8.266 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.178e-05/0.3002, allocations: 63.14 kB / 486.7 MB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008757/0.3011, allocations: 0.7823 MB / 487.5 MB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.3011, allocations: 38.98 kB / 487.5 MB, free: 7.715 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.3011, allocations: 0 / 487.5 MB, free: 7.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.000398/0.3015, allocations: 185 kB / 487.7 MB, free: 7.629 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.3016, allocations: 55.39 kB / 487.8 MB, free: 7.562 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3017, allocations: 297.3 kB / 488.1 MB, free: 7.348 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3017, allocations: 29.2 kB / 488.1 MB, free: 7.316 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.3018, allocations: 261.6 kB / 488.3 MB, free: 7.086 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.3018, allocations: 57.03 kB / 488.4 MB, free: 7.047 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.574e-05/0.3019, allocations: 90.17 kB / 488.5 MB, free: 7.012 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.425e-05/0.3019, allocations: 0.5062 MB / 489 MB, free: 6.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.302, allocations: 31.38 kB / 489 MB, free: 6.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.3021, allocations: 443.6 kB / 489.5 MB, free: 5.945 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.3024, allocations: 0.5282 MB / 490 MB, free: 5.352 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.3024, allocations: 2.938 kB / 490 MB, free: 5.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003959/0.3028, allocations: 366.7 kB / 490.3 MB, free: 5.207 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3028, allocations: 7.594 kB / 490.4 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3029, allocations: 11.12 kB / 490.4 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3029, allocations: 13.94 kB / 490.4 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.3031, allocations: 111.4 kB / 490.5 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.3031, allocations: 17.94 kB / 490.5 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.3033, allocations: 18.28 kB / 490.5 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.3033, allocations: 30.39 kB / 490.6 MB, free: 5.168 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * 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.994e-05/0.3034, allocations: 188.9 kB / 490.7 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.3034, allocations: 25.53 kB / 490.8 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.3036, allocations: 138.3 kB / 490.9 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3036, allocations: 10.16 kB / 490.9 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.3036, allocations: 3.984 kB / 490.9 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3036, allocations: 0 / 490.9 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.3039, allocations: 398.5 kB / 491.3 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3039, allocations: 0 / 491.3 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.304, allocations: 29.91 kB / 491.3 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.304, allocations: 3 kB / 491.3 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.304, allocations: 0 / 491.3 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.304, allocations: 2.344 kB / 491.3 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.304, allocations: 64 / 491.3 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.3041, allocations: 270.9 kB / 491.6 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.3042, allocations: 27.56 kB / 491.6 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.3042, allocations: 2.312 kB / 491.6 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.3043, allocations: 13.64 kB / 491.6 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.3044, allocations: 13.33 kB / 491.7 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3044, allocations: 2.125 kB / 491.7 MB, free: 4.301 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.737e-05/0.3044, allocations: 191 kB / 491.8 MB, free: 4.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3044, allocations: 0 / 491.8 MB, free: 4.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004268/0.3049, allocations: 93.25 kB / 491.9 MB, free: 4.152 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001935/0.305, allocations: 158.4 kB / 492.1 MB, free: 4.039 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.3052, allocations: 172.1 kB / 492.3 MB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3053, allocations: 2.844 kB / 492.3 MB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.182e-05/0.3053, allocations: 42.02 kB / 492.3 MB, free: 3.945 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3056, allocations: 49.69 kB / 492.4 MB, free: 3.934 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009277/0.3066, allocations: 491.1 kB / 492.8 MB, free: 3.625 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.192e-05/0.3066, allocations: 74.39 kB / 492.9 MB, free: 3.547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.3068, allocations: 57.83 kB / 493 MB, free: 3.516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.3069, allocations: 150.3 kB / 493.1 MB, free: 3.43 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.3069, allocations: 0 / 493.1 MB, free: 3.43 MB / 362.7 MB Notification: Performance of Templates: time 0.005765/0.3127, allocations: 3.536 MB / 496.6 MB, free: 1.648 MB / 362.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.6512686791829765]