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.00095/0.00095, 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.0009539/0.0009539, allocations: 170.2 kB / 24.91 MB, free: 9.199 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 0.9816/0.9816, allocations: 177.1 MB / 205.3 MB, free: 5.148 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.2443/0.2443, allocations: 34.26 MB / 296.1 MB, free: 0.6914 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.433e-06/1.433e-06, allocations: 0 / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.644e-05, allocations: 4.562 kB / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3121/0.3122, allocations: 131.4 MB / 456.7 MB, free: 16.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004017/0.3162, allocations: 4.876 MB / 461.6 MB, free: 16.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.3163, allocations: 0 / 461.6 MB, free: 16.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.3166, allocations: 64.03 kB / 461.7 MB, free: 16.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.3182, allocations: 0.7781 MB / 462.5 MB, free: 16.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.3185, allocations: 170.9 kB / 462.6 MB, free: 16.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.319, allocations: 403 kB / 463 MB, free: 16.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.3191, allocations: 8.188 kB / 463 MB, free: 16.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.3193, allocations: 214.3 kB / 463.2 MB, free: 16.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.3196, allocations: 172.2 kB / 463.4 MB, free: 16.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.3196, allocations: 7.844 kB / 463.4 MB, free: 16.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009474/0.3205, allocations: 0.642 MB / 464.1 MB, free: 16.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.211e-05/0.3206, allocations: 51.42 kB / 464.1 MB, free: 16.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.935e-05/0.3207, allocations: 82.3 kB / 464.2 MB, free: 16.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006748/0.3214, allocations: 476.7 kB / 464.7 MB, free: 16.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3214, allocations: 0 / 464.7 MB, free: 16.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3214, allocations: 5.203 kB / 464.7 MB, free: 16.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3214, allocations: 0 / 464.7 MB, free: 16.64 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.0007388/0.3221, allocations: 0.5091 MB / 465.2 MB, free: 16.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.3221, allocations: 9.625 kB / 465.2 MB, free: 16.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.3223, allocations: 57.5 kB / 465.2 MB, free: 16.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.3225, allocations: 155.2 kB / 465.4 MB, free: 16.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.613e-05/0.3226, allocations: 232.9 kB / 465.6 MB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.3226, allocations: 24.56 kB / 465.6 MB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.3229, allocations: 428.1 kB / 466.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3229, allocations: 6.469 kB / 466.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.3229, allocations: 13.16 kB / 466.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.3229, allocations: 6.688 kB / 466.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.3233, allocations: 436.3 kB / 466.5 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006946/0.324, allocations: 0.8619 MB / 467.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.3242, allocations: 173.4 kB / 467.5 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.3242, allocations: 49.91 kB / 467.6 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000854/0.3251, allocations: 0.72 MB / 468.3 MB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.3251, allocations: 37.38 kB / 468.3 MB, free: 14.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3251, allocations: 0 / 468.3 MB, free: 14.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002601/0.3254, allocations: 171.6 kB / 468.5 MB, free: 14.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.591e-05/0.3254, allocations: 58.16 kB / 468.6 MB, free: 14.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.3255, allocations: 225.3 kB / 468.8 MB, free: 14.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.3255, allocations: 27.67 kB / 468.8 MB, free: 14.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.3256, allocations: 219 kB / 469 MB, free: 14.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.3256, allocations: 57.83 kB / 469.1 MB, free: 14.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.3257, allocations: 85.52 kB / 469.2 MB, free: 14.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.836e-05/0.3257, allocations: 328.6 kB / 469.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.714e-05/0.3258, allocations: 36.31 kB / 469.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.3259, allocations: 298.9 kB / 469.8 MB, free: 13.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.3261, allocations: 396.3 kB / 470.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.3261, allocations: 7.078 kB / 470.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003011/0.3264, allocations: 295.1 kB / 470.5 MB, free: 12.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3264, allocations: 8.594 kB / 470.5 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3264, allocations: 11.47 kB / 470.5 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.3265, allocations: 11.97 kB / 470.5 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.3267, allocations: 113.5 kB / 470.6 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.3267, allocations: 16.5 kB / 470.7 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.3269, allocations: 57.56 kB / 470.7 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.327, allocations: 26.75 kB / 470.7 MB, free: 12.94 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.581e-05/0.327, allocations: 145.5 kB / 470.9 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.3271, allocations: 21.28 kB / 470.9 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.3272, allocations: 125.8 kB / 471 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.3272, allocations: 6.906 kB / 471 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.3272, allocations: 0 / 471 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3272, allocations: 5.062 kB / 471 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.3275, allocations: 314.2 kB / 471.3 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3275, allocations: 1.203 kB / 471.3 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.3276, allocations: 34.14 kB / 471.4 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3276, allocations: 3.469 kB / 471.4 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.3276, allocations: 0 / 471.4 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.3276, allocations: 0 / 471.4 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3276, allocations: 0 / 471.4 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.3277, allocations: 238.6 kB / 471.6 MB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.3277, allocations: 23.81 kB / 471.6 MB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.3278, allocations: 6.203 kB / 471.6 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.3279, allocations: 11.39 kB / 471.7 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.3279, allocations: 6.141 kB / 471.7 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.3279, allocations: 14.08 kB / 471.7 MB, free: 12.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.982e-05/0.328, allocations: 65.92 kB / 471.7 MB, free: 12.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.328, allocations: 0 / 471.7 MB, free: 12.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000393/0.3284, allocations: 99 kB / 471.8 MB, free: 12.28 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.0001881/0.3285, allocations: 138.5 kB / 472 MB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.3287, allocations: 160.8 kB / 472.1 MB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/0.3287, allocations: 6.594 kB / 472.1 MB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.798e-05/0.3288, allocations: 31.31 kB / 472.2 MB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.329, allocations: 53.53 kB / 472.2 MB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008824/0.3299, allocations: 0.4912 MB / 472.7 MB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.813e-05/0.33, allocations: 72.5 kB / 472.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.3301, allocations: 53.08 kB / 472.8 MB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.3303, allocations: 116.6 kB / 472.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.3303, allocations: 0 / 472.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of Templates: time 0.005724/0.336, allocations: 3.539 MB / 476.5 MB, free: 11.34 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 -s gbode -gbm=radauIIA3 -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.418686598073691]