Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001307/0.001307, 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.001068/0.001068, allocations: 168.3 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 1.01/1.01, 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.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.2767/0.2767, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 325.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.661e-05, allocations: 2.312 kB / 325.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002241/0.002257, allocations: 1.814 MB / 327.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.003411, allocations: 1.006 MB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.00347, allocations: 4 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.003703, allocations: 43.7 kB / 328.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.003905, allocations: 87.48 kB / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.004026, allocations: 79.61 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.004159, allocations: 111.7 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.787e-05/0.004227, allocations: 4 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.716e-05/0.004304, allocations: 59.77 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.234e-05/0.004366, allocations: 23.91 kB / 328.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.004388, allocations: 4 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.601e-05/0.004454, allocations: 47.92 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.00449, allocations: 23.91 kB / 328.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.00452, allocations: 20.38 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.004659, allocations: 95.66 kB / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.004661, allocations: 4 kB / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004662, allocations: 0 / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.004665, allocations: 0 / 328.8 MB, free: 4.121 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.0003445/0.00501, allocations: 317.5 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.00504, allocations: 8.031 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.005068, allocations: 8.922 kB / 329.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.005239, allocations: 150.3 kB / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.005252, allocations: 384 / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.005269, allocations: 8.375 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.947e-05/0.005368, allocations: 57.77 kB / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.005377, allocations: 3.938 kB / 329.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.005383, allocations: 0 / 329.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.005389, allocations: 7.938 kB / 329.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.528e-05/0.005414, allocations: 15.92 kB / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.005599, allocations: 166 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.619e-05/0.005675, allocations: 89.28 kB / 329.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.005692, allocations: 8.859 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.005708, allocations: 4 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.889e-05/0.005787, allocations: 66.09 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.005788, allocations: 0 / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002425/0.00603, allocations: 121.5 kB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.006056, allocations: 51.41 kB / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.006146, allocations: 174.1 kB / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.00616, allocations: 25.7 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.006254, allocations: 92.11 kB / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.006279, allocations: 39.72 kB / 330.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.006305, allocations: 21.72 kB / 330.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.006371, allocations: 322.8 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.006384, allocations: 10.83 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.188e-05/0.006406, allocations: 25.7 kB / 330.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.814e-05/0.006444, allocations: 40.45 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006445, allocations: 0 / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.627e-05/0.006511, allocations: 72.44 kB / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.006524, allocations: 8.031 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.006531, allocations: 4 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.006544, allocations: 0 / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.585e-05/0.00661, allocations: 19.92 kB / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.006614, allocations: 0 / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.006645, allocations: 8 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.006652, allocations: 0 / 330.7 MB, free: 2.035 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 6.918e-05/0.006721, allocations: 121.5 kB / 330.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.006734, allocations: 11.94 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.006835, allocations: 79.06 kB / 330.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.006837, allocations: 4 kB / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.006839, allocations: 0 / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.006844, allocations: 0 / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.007074, allocations: 295.6 kB / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007075, allocations: 0 / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.007101, allocations: 19.92 kB / 331.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.007105, allocations: 4 kB / 331.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.007111, allocations: 0 / 331.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.007112, allocations: 0 / 331.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007113, allocations: 0 / 331.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.007223, allocations: 219 kB / 331.4 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.283e-05/0.007236, allocations: 15.89 kB / 331.4 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.007253, allocations: 7.984 kB / 331.5 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.007292, allocations: 4.375 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.007327, allocations: 3.984 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.007343, allocations: 8 kB / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.948e-05/0.007382, allocations: 48.3 kB / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007382, allocations: 0 / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001397/0.007522, allocations: 27.92 kB / 331.5 MB, free: 1.113 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.001339/0.008861, allocations: 0.5728 MB / 332.1 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.595e-05/0.008947, allocations: 36.78 kB / 332.2 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.008949, allocations: 4 kB / 332.2 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.009119, allocations: 20.84 kB / 332.2 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.009292, allocations: 39.52 kB / 332.2 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.009585, allocations: 223.9 kB / 332.4 MB, free: 496 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.698e-05/0.009632, allocations: 67.33 kB / 332.5 MB, free: 408 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.813e-05/0.009671, allocations: 17.27 kB / 332.5 MB, free: 392 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.009738, allocations: 63.38 kB / 332.6 MB, free: 328 kB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.009739, allocations: 0 / 332.6 MB, free: 328 kB / 298.7 MB Notification: Performance of Templates: time 0.003362/0.0131, allocations: 2.014 MB / 334.6 MB, free: 14.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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: 2.908177748788148]