Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.0009917/0.0009917, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001095/0.001095, allocations: 174 kB / 24.92 MB, free: 8.766 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 1.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2502/0.2502, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.52e-05/4.744e-05, allocations: 11.41 kB / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.006099/0.006147, allocations: 1.748 MB / 325.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004504/0.01065, allocations: 1.009 MB / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.904e-05/0.01074, allocations: 0 / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.01104, allocations: 39.7 kB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.01134, allocations: 99.47 kB / 326.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.01152, allocations: 75.67 kB / 326.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.01169, allocations: 111.6 kB / 326.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.909e-05/0.01178, allocations: 9.375 kB / 326.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.01188, allocations: 55.81 kB / 326.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.01199, allocations: 27.92 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.01201, allocations: 4 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-05/0.01209, allocations: 47.86 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.01214, allocations: 31.84 kB / 326.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.01218, allocations: 15.94 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.01234, allocations: 99.64 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.01234, allocations: 0 / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01234, allocations: 0 / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.01235, allocations: 0 / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003652/0.01271, allocations: 321.3 kB / 327 MB, free: 5.891 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.01274, allocations: 12.03 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.01277, allocations: 8.922 kB / 327 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.01297, allocations: 155.4 kB / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.01299, allocations: 384 / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.01302, allocations: 4.375 kB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.01318, allocations: 65.75 kB / 327.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.01319, allocations: 7.938 kB / 327.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.0132, allocations: 4 kB / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.01321, allocations: 0 / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.127e-05/0.01324, allocations: 4 kB / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.01352, allocations: 173.9 kB / 327.4 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.01364, allocations: 85.3 kB / 327.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.01366, allocations: 8.859 kB / 327.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.01367, allocations: 4 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.01379, allocations: 66.14 kB / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.01379, allocations: 0 / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000336/0.01412, allocations: 113.5 kB / 327.7 MB, free: 5.109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.01416, allocations: 59.39 kB / 327.8 MB, free: 5.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.01426, allocations: 176.8 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.01427, allocations: 29.7 kB / 328 MB, free: 4.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.01431, allocations: 100 kB / 328.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.01433, allocations: 23.8 kB / 328.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.01436, allocations: 29.69 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.552e-05/0.01444, allocations: 322.8 kB / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.01446, allocations: 10.83 kB / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.364e-05/0.01448, allocations: 25.69 kB / 328.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.307e-05/0.01452, allocations: 44.59 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.01452, allocations: 0 / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.68e-05/0.0146, allocations: 84.36 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.01461, allocations: 4 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.01462, allocations: 0 / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.01463, allocations: 0 / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.393e-05/0.01469, allocations: 19.92 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.0147, allocations: 7.938 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.01473, allocations: 0 / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.01473, allocations: 4 kB / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * 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.345e-05/0.0148, allocations: 119.5 kB / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.01482, allocations: 11.92 kB / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.01493, allocations: 79.11 kB / 328.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01493, allocations: 4 kB / 328.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01493, allocations: 4.359 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.01494, allocations: 0 / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.01516, allocations: 291.4 kB / 329.1 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.01517, allocations: 8 kB / 329.1 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.01519, allocations: 8 kB / 329.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.01519, allocations: 0 / 329.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.0152, allocations: 3.984 kB / 329.1 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.0152, allocations: 8.031 kB / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.0152, allocations: 0 / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.01531, allocations: 219 kB / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.01532, allocations: 11.94 kB / 329.4 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.01533, allocations: 0 / 329.4 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.108e-05/0.01538, allocations: 7.984 kB / 329.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.0154, allocations: 4 kB / 329.4 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.01541, allocations: 7.984 kB / 329.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.236e-05/0.01546, allocations: 43.66 kB / 329.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01546, allocations: 0 / 329.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.01562, allocations: 27.92 kB / 329.5 MB, free: 3.203 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001297/0.01692, allocations: 0.5801 MB / 330 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.684e-05/0.01702, allocations: 36.83 kB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01702, allocations: 12 kB / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.377e-05/0.01705, allocations: 24.84 kB / 330.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.01723, allocations: 35.73 kB / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.01754, allocations: 219.6 kB / 330.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.01758, allocations: 71.33 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.53e-05/0.01762, allocations: 17.28 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.01768, allocations: 71.44 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01768, allocations: 0 / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of Templates: time 0.003671/0.02136, allocations: 2.019 MB / 332.5 MB, free: 412 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.166687209159136]