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.001107/0.001107, allocations: 80.8 kB / 21.49 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.004346/0.004346, allocations: 168.7 kB / 24.91 MB, free: 8.77 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.9853/0.9853, 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.246/0.246, allocations: 32.81 MB / 294.6 MB, free: 1.176 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.423e-06/1.423e-06, allocations: 0 / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.266e-05, allocations: 3.188 kB / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3063/0.3063, allocations: 131.4 MB / 454.6 MB, free: 17.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003798/0.3101, allocations: 4.872 MB / 459.5 MB, free: 17.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.3103, allocations: 3.094 kB / 459.5 MB, free: 17.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.3107, allocations: 60.97 kB / 459.6 MB, free: 17.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.3127, allocations: 0.7996 MB / 460.4 MB, free: 17.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.3131, allocations: 164.2 kB / 460.5 MB, free: 17.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007393/0.3138, allocations: 405.4 kB / 460.9 MB, free: 17.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.823e-05/0.3139, allocations: 9.938 kB / 460.9 MB, free: 17.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004551/0.3144, allocations: 213 kB / 461.1 MB, free: 17.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000383/0.3147, allocations: 169.6 kB / 461.3 MB, free: 17.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.57e-05/0.3148, allocations: 8.281 kB / 461.3 MB, free: 17.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.3164, allocations: 0.6283 MB / 461.9 MB, free: 17.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.3166, allocations: 51.22 kB / 462 MB, free: 17.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.3167, allocations: 80 kB / 462.1 MB, free: 17.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.318, allocations: 482.8 kB / 462.5 MB, free: 17.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.318, allocations: 3.625 kB / 462.5 MB, free: 17.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.318, allocations: 4 kB / 462.6 MB, free: 17.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.318, allocations: 0 / 462.6 MB, free: 17.01 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.001156/0.3192, allocations: 0.5098 MB / 463.1 MB, free: 16.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.3192, allocations: 8.688 kB / 463.1 MB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/0.3194, allocations: 50.42 kB / 463.1 MB, free: 16.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.3198, allocations: 163.8 kB / 463.3 MB, free: 16.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.3199, allocations: 225.8 kB / 463.5 MB, free: 16.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.3199, allocations: 34.3 kB / 463.5 MB, free: 16.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.3203, allocations: 426.2 kB / 463.9 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.3203, allocations: 384 / 464 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.3204, allocations: 14.34 kB / 464 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.3204, allocations: 7.953 kB / 464 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004713/0.3209, allocations: 437.6 kB / 464.4 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.3219, allocations: 0.8653 MB / 465.3 MB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.3222, allocations: 170.5 kB / 465.4 MB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.731e-05/0.3223, allocations: 52.38 kB / 465.5 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.3236, allocations: 0.7176 MB / 466.2 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.3236, allocations: 40.17 kB / 466.2 MB, free: 14.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 3.036e-06/0.3236, allocations: 0 / 466.2 MB, free: 14.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003637/0.324, allocations: 169.4 kB / 466.4 MB, free: 14.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.324, allocations: 54.25 kB / 466.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.3242, allocations: 229.2 kB / 466.7 MB, free: 14.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3242, allocations: 31.34 kB / 466.7 MB, free: 14.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.566e-05/0.3243, allocations: 216.5 kB / 466.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.3243, allocations: 64.28 kB / 467 MB, free: 14.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/0.3244, allocations: 78.94 kB / 467.1 MB, free: 14.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.387e-05/0.3245, allocations: 331.4 kB / 467.4 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.3245, allocations: 35.98 kB / 467.4 MB, free: 14.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.3247, allocations: 295.8 kB / 467.7 MB, free: 13.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.3251, allocations: 395.3 kB / 468.1 MB, free: 13.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.3251, allocations: 2.344 kB / 468.1 MB, free: 13.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004421/0.3255, allocations: 305.9 kB / 468.4 MB, free: 13.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3255, allocations: 8.219 kB / 468.4 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.3256, allocations: 8.969 kB / 468.4 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/0.3256, allocations: 14.62 kB / 468.4 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.3259, allocations: 100.6 kB / 468.5 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.3259, allocations: 20.47 kB / 468.5 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.3262, allocations: 55.09 kB / 468.6 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.3262, allocations: 27.34 kB / 468.6 MB, free: 13.31 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 0.0001118/0.3263, allocations: 147.9 kB / 468.8 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.3264, allocations: 20.02 kB / 468.8 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.3266, allocations: 116.8 kB / 468.9 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.3266, allocations: 10.17 kB / 468.9 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3266, allocations: 0 / 468.9 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3266, allocations: 1.203 kB / 468.9 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.327, allocations: 316.2 kB / 469.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.327, allocations: 2 kB / 469.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.3271, allocations: 26.83 kB / 469.3 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3271, allocations: 6.078 kB / 469.3 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.3271, allocations: 3.375 kB / 469.3 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3271, allocations: 0 / 469.3 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3271, allocations: 2.75 kB / 469.3 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.3273, allocations: 234.1 kB / 469.5 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.3273, allocations: 23.91 kB / 469.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.3274, allocations: 9.828 kB / 469.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.3275, allocations: 8.812 kB / 469.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.3276, allocations: 10.36 kB / 469.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.3276, allocations: 9.328 kB / 469.6 MB, free: 12.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.624e-05/0.3276, allocations: 67.2 kB / 469.6 MB, free: 12.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3276, allocations: 0 / 469.6 MB, free: 12.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005677/0.3282, allocations: 96.31 kB / 469.7 MB, free: 12.65 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.0003324/0.3285, allocations: 135.8 kB / 469.8 MB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.3288, allocations: 163.7 kB / 470 MB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/0.3288, allocations: 9.094 kB / 470 MB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.565e-05/0.3289, allocations: 29.59 kB / 470 MB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.3292, allocations: 53.55 kB / 470.1 MB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.3304, allocations: 493.9 kB / 470.6 MB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.696e-05/0.3304, allocations: 75.36 kB / 470.7 MB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001967/0.3306, allocations: 57 kB / 470.7 MB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.3308, allocations: 121.3 kB / 470.8 MB, free: 12.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3308, allocations: 0 / 470.8 MB, free: 12.16 MB / 410.7 MB Notification: Performance of Templates: time 0.007585/0.3384, allocations: 3.528 MB / 474.4 MB, free: 11.71 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 -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.5249496512115]