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.001083/0.001083, allocations: 81.08 kB / 20.66 MB, free: 3.84 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.005222/0.005222, allocations: 173.4 kB / 24.06 MB, free: 456 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.9472/0.9472, allocations: 158.6 MB / 186 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.1398/0.1398, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.254e-06/2.254e-06, allocations: 0 / 348.2 MB, free: 9.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.699e-05, allocations: 8.219 kB / 348.2 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3427/0.3428, allocations: 126.6 MB / 474.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004583/0.3473, allocations: 4.802 MB / 479.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.3475, allocations: 2.594 kB / 479.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004063/0.3479, allocations: 68.44 kB / 479.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.3502, allocations: 0.7773 MB / 480.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.3506, allocations: 169.7 kB / 480.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006234/0.3512, allocations: 396.4 kB / 480.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.693e-05/0.3512, allocations: 14.14 kB / 481 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.3515, allocations: 204.2 kB / 481.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.3518, allocations: 174.4 kB / 481.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.3518, allocations: 8.125 kB / 481.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.3528, allocations: 0.6178 MB / 481.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.098e-05/0.3529, allocations: 51.67 kB / 482 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.708e-05/0.353, allocations: 82.33 kB / 482.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006817/0.3537, allocations: 457.6 kB / 482.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3537, allocations: 0 / 482.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3537, allocations: 0 / 482.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3537, allocations: 4 kB / 482.5 MB, free: 10.89 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.0009031/0.3546, allocations: 0.6274 MB / 483.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.3547, allocations: 10.59 kB / 483.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.3549, allocations: 55.5 kB / 483.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.3551, allocations: 173.2 kB / 483.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.3552, allocations: 227.7 kB / 483.6 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.3552, allocations: 31.25 kB / 483.6 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.3556, allocations: 439.3 kB / 484.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.3556, allocations: 384 / 484.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.3556, allocations: 15.53 kB / 484.1 MB, free: 9.543 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.3556, allocations: 5.719 kB / 484.1 MB, free: 9.543 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.3559, allocations: 461.9 kB / 484.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008269/0.3567, allocations: 1.192 MB / 485.7 MB, free: 8.348 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.357, allocations: 146.2 kB / 485.9 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.357, allocations: 64.02 kB / 485.9 MB, free: 8.266 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008038/0.3578, allocations: 0.8039 MB / 486.7 MB, free: 7.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.3579, allocations: 33.39 kB / 486.8 MB, free: 7.727 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.3579, allocations: 0 / 486.8 MB, free: 7.727 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.000421/0.3583, allocations: 187.7 kB / 487 MB, free: 7.637 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.3583, allocations: 51.41 kB / 487 MB, free: 7.574 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3584, allocations: 290.5 kB / 487.3 MB, free: 7.363 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.3584, allocations: 33.64 kB / 487.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.3585, allocations: 268.3 kB / 487.6 MB, free: 7.094 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.3586, allocations: 61.14 kB / 487.7 MB, free: 7.051 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.3586, allocations: 85.55 kB / 487.7 MB, free: 7.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.3587, allocations: 0.5066 MB / 488.2 MB, free: 6.516 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.171e-05/0.3587, allocations: 31.28 kB / 488.3 MB, free: 6.508 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.3589, allocations: 450.6 kB / 488.7 MB, free: 5.949 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.3591, allocations: 0.5191 MB / 489.2 MB, free: 5.359 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3591, allocations: 5.906 kB / 489.2 MB, free: 5.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003452/0.3595, allocations: 364.9 kB / 489.6 MB, free: 5.215 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.3595, allocations: 8.281 kB / 489.6 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.3595, allocations: 10.66 kB / 489.6 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.3595, allocations: 13.81 kB / 489.6 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.3597, allocations: 115.2 kB / 489.7 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.3597, allocations: 17.5 kB / 489.8 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.3599, allocations: 17.34 kB / 489.8 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.3599, allocations: 26.8 kB / 489.8 MB, free: 5.18 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 7.746e-05/0.36, allocations: 189.4 kB / 490 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.36, allocations: 25.03 kB / 490 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.3602, allocations: 138.2 kB / 490.1 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.3602, allocations: 6.766 kB / 490.1 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.3602, allocations: 3.812 kB / 490.2 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3602, allocations: 0 / 490.2 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.3605, allocations: 400.3 kB / 490.5 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3605, allocations: 0 / 490.5 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.254e-05/0.3605, allocations: 30.16 kB / 490.6 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3605, allocations: 2.281 kB / 490.6 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.3605, allocations: 3.188 kB / 490.6 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3605, allocations: 6.594 kB / 490.6 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3606, allocations: 0 / 490.6 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.3607, allocations: 266.1 kB / 490.8 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.3607, allocations: 26.84 kB / 490.9 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.3607, allocations: 3.5 kB / 490.9 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.3608, allocations: 13.42 kB / 490.9 MB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.3608, allocations: 14.05 kB / 490.9 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.3609, allocations: 9.484 kB / 490.9 MB, free: 4.305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.593e-05/0.3609, allocations: 180.7 kB / 491.1 MB, free: 4.168 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3609, allocations: 0 / 491.1 MB, free: 4.168 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003345/0.3612, allocations: 96.16 kB / 491.2 MB, free: 4.156 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.0001972/0.3614, allocations: 161.9 kB / 491.3 MB, free: 4.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.3616, allocations: 169.3 kB / 491.5 MB, free: 3.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3616, allocations: 3.406 kB / 491.5 MB, free: 3.977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.3616, allocations: 34.36 kB / 491.5 MB, free: 3.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.3619, allocations: 59.34 kB / 491.6 MB, free: 3.938 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008109/0.3627, allocations: 483.2 kB / 492.1 MB, free: 3.633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.532e-05/0.3628, allocations: 74.33 kB / 492.1 MB, free: 3.555 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.3629, allocations: 56.39 kB / 492.2 MB, free: 3.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.363, allocations: 151.1 kB / 492.3 MB, free: 3.438 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.3631, allocations: 0 / 492.3 MB, free: 3.438 MB / 362.7 MB Notification: Performance of Templates: time 0.005114/0.3682, allocations: 3.498 MB / 495.8 MB, free: 1.664 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.659521469846368]