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.001236/0.001236, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.00167/0.00167, allocations: 169 kB / 24.24 MB, free: 312 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.9226/0.9226, allocations: 158.6 MB / 186 MB, free: 2.551 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.1872/0.1872, allocations: 32.37 MB / 270.7 MB, free: 14.62 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 1.203e-06/1.203e-06, allocations: 3.938 kB / 347.7 MB, free: 9.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.115e-05, allocations: 4.281 kB / 347.7 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3025/0.3026, allocations: 128.8 MB / 476.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004469/0.307, allocations: 4.823 MB / 481.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002119/0.3072, allocations: 0 / 481.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.3077, allocations: 64.34 kB / 481.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.3099, allocations: 0.7591 MB / 482.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.3103, allocations: 153.9 kB / 482.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006476/0.3109, allocations: 382.6 kB / 482.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.978e-05/0.311, allocations: 11.91 kB / 482.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/0.3113, allocations: 206.2 kB / 482.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.3116, allocations: 182.4 kB / 483 MB, free: 10.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.3116, allocations: 8.969 kB / 483.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.3128, allocations: 0.5993 MB / 483.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.978e-05/0.3129, allocations: 51.09 kB / 483.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.249e-05/0.313, allocations: 82.69 kB / 483.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006741/0.3137, allocations: 472.9 kB / 484.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3137, allocations: 0 / 484.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3137, allocations: 0 / 484.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.3137, allocations: 0 / 484.2 MB, free: 10.09 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.0009918/0.3147, allocations: 0.6257 MB / 484.9 MB, free: 9.586 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3148, allocations: 8.406 kB / 484.9 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.315, allocations: 56 kB / 484.9 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.3153, allocations: 171.1 kB / 485.1 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.3154, allocations: 224.8 kB / 485.3 MB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.3154, allocations: 24.59 kB / 485.3 MB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.3158, allocations: 461 kB / 485.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3159, allocations: 384 / 485.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.3159, allocations: 13.75 kB / 485.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.43e-05/0.3159, allocations: 12.78 kB / 485.8 MB, free: 8.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.3164, allocations: 0.5235 MB / 486.3 MB, free: 8.547 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009775/0.3173, allocations: 1.219 MB / 487.6 MB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.3177, allocations: 153.7 kB / 487.7 MB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.784e-05/0.3178, allocations: 68.27 kB / 487.8 MB, free: 7.445 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008737/0.3187, allocations: 0.7839 MB / 488.6 MB, free: 6.957 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3187, allocations: 39.45 kB / 488.6 MB, free: 6.914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.704e-06/0.3187, allocations: 0 / 488.6 MB, free: 6.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006014/0.3193, allocations: 205.2 kB / 488.8 MB, free: 6.816 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.3193, allocations: 57.53 kB / 488.9 MB, free: 6.754 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.3195, allocations: 283.4 kB / 489.1 MB, free: 6.543 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.3195, allocations: 34.23 kB / 489.2 MB, free: 6.512 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.3196, allocations: 261 kB / 489.4 MB, free: 6.281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.3196, allocations: 58.11 kB / 489.5 MB, free: 6.238 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.011e-05/0.3197, allocations: 94.33 kB / 489.6 MB, free: 6.203 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.3197, allocations: 0.5022 MB / 490.1 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.824e-05/0.3198, allocations: 37.97 kB / 490.1 MB, free: 5.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.32, allocations: 449.8 kB / 490.5 MB, free: 5.137 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.3202, allocations: 0.533 MB / 491.1 MB, free: 4.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3202, allocations: 2.781 kB / 491.1 MB, free: 4.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003535/0.3206, allocations: 378.2 kB / 491.5 MB, free: 4.398 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3206, allocations: 9.25 kB / 491.5 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.3206, allocations: 15.16 kB / 491.5 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.3206, allocations: 13.91 kB / 491.5 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.3208, allocations: 106.4 kB / 491.6 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.3209, allocations: 19.45 kB / 491.6 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.321, allocations: 22.12 kB / 491.6 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.321, allocations: 29.75 kB / 491.7 MB, free: 4.363 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 0.0001045/0.3211, allocations: 197.3 kB / 491.9 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.3212, allocations: 26.58 kB / 491.9 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.3214, allocations: 149.1 kB / 492 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.3214, allocations: 4 kB / 492 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3214, allocations: 2.406 kB / 492 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3214, allocations: 0 / 492 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.3217, allocations: 431.1 kB / 492.5 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3217, allocations: 0 / 492.5 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.749e-05/0.3218, allocations: 34.19 kB / 492.5 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3218, allocations: 3.406 kB / 492.5 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3218, allocations: 0 / 492.5 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3218, allocations: 6.5 kB / 492.5 MB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3218, allocations: 3.938 kB / 492.5 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.322, allocations: 274.2 kB / 492.8 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.322, allocations: 26.42 kB / 492.8 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.3221, allocations: 0 / 492.8 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3222, allocations: 13.08 kB / 492.8 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.3222, allocations: 10.92 kB / 492.8 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.3222, allocations: 13.14 kB / 492.8 MB, free: 3.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.639e-05/0.3223, allocations: 184.5 kB / 493 MB, free: 3.316 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3223, allocations: 0 / 493 MB, free: 3.316 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003456/0.3226, allocations: 102.7 kB / 493.1 MB, free: 3.305 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.000262/0.3229, allocations: 153.5 kB / 493.3 MB, free: 3.195 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.3231, allocations: 179.6 kB / 493.4 MB, free: 3.129 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3231, allocations: 2.938 kB / 493.4 MB, free: 3.129 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.056e-05/0.3231, allocations: 45.62 kB / 493.5 MB, free: 3.102 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.3234, allocations: 62.69 kB / 493.5 MB, free: 3.086 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.3245, allocations: 477.3 kB / 494 MB, free: 2.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.645e-05/0.3245, allocations: 74.3 kB / 494.1 MB, free: 2.703 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.3246, allocations: 56.27 kB / 494.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.3247, allocations: 26.06 kB / 494.2 MB, free: 2.664 MB / 362.7 MB Notification: Performance of SimCode: time 1.343e-06/0.3247, allocations: 0 / 494.2 MB, free: 2.664 MB / 362.7 MB Notification: Performance of Templates: time 0.005463/0.3302, allocations: 3.152 MB / 497.3 MB, free: 1.078 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.6513546479400247]