Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.000938/0.000938, allocations: 80.8 kB / 21.49 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.0009533/0.0009533, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.939/0.939, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2493/0.2493, allocations: 32.8 MB / 294.6 MB, free: 1.254 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.295e-05/3.499e-05, allocations: 2.969 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002426/0.002461, allocations: 1.769 MB / 325.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.003687, allocations: 1.001 MB / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.3e-05/0.00376, allocations: 4 kB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.004035, allocations: 43.7 kB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.004326, allocations: 99.47 kB / 326.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.004525, allocations: 79.59 kB / 326.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.004676, allocations: 107.7 kB / 326.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.16e-05/0.004748, allocations: 8.734 kB / 326.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.004836, allocations: 63.77 kB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.004902, allocations: 19.92 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.004916, allocations: 4 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.271e-05/0.004999, allocations: 47.91 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.005045, allocations: 23.86 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.005076, allocations: 15.94 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.005228, allocations: 107.6 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.00523, allocations: 0 / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005231, allocations: 0 / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.005234, 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.0003451/0.005579, allocations: 333.3 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.00561, allocations: 8.031 kB / 327 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.005639, allocations: 8.938 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.005789, allocations: 158 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.005803, allocations: 4.375 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.005821, allocations: 384 / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.615e-05/0.005917, allocations: 65.77 kB / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.005926, allocations: 7.875 kB / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-06/0.005931, allocations: 0 / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.005936, allocations: 0 / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.318e-05/0.005959, allocations: 11.98 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.006141, allocations: 169.9 kB / 327.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.006226, allocations: 89.34 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.006246, allocations: 16.84 kB / 327.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.006254, allocations: 0 / 327.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.83e-05/0.006333, allocations: 70.09 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.006334, allocations: 0 / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002693/0.006603, allocations: 109.5 kB / 327.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.006633, allocations: 51.41 kB / 327.8 MB, free: 5.027 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.006744, allocations: 188.2 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.006759, allocations: 25.7 kB / 328 MB, free: 4.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.00679, allocations: 96.06 kB / 328.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.006816, allocations: 31.77 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.006851, allocations: 21.72 kB / 328.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.416e-05/0.006935, allocations: 326.8 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.006956, allocations: 10.81 kB / 328.5 MB, free: 4.301 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.435e-05/0.00698, allocations: 25.7 kB / 328.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.393e-05/0.007024, allocations: 48.52 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.007027, allocations: 8 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.902e-05/0.007106, allocations: 76.36 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.007117, allocations: 8 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007121, allocations: 0 / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.007132, allocations: 0 / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.352e-05/0.007186, allocations: 15.94 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.007189, allocations: 4 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.86e-05/0.007218, allocations: 4.359 kB / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.007225, allocations: 4 kB / 328.6 MB, free: 4.09 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.361e-05/0.007289, allocations: 119 kB / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.007304, allocations: 19.95 kB / 328.8 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.962e-05/0.007404, allocations: 75.08 kB / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.007406, allocations: 4 kB / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.007408, allocations: 4 kB / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.007412, allocations: 0 / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.007626, allocations: 291.4 kB / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007628, allocations: 0 / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.007652, allocations: 12 kB / 329.2 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007653, allocations: 0 / 329.2 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.007658, allocations: 7.969 kB / 329.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.007662, allocations: 4 kB / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007663, allocations: 0 / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.007771, allocations: 215 kB / 329.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.007783, allocations: 11.91 kB / 329.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.007802, allocations: 11.94 kB / 329.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.137e-05/0.007843, allocations: 0 / 329.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.007873, allocations: 7.984 kB / 329.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.007885, allocations: 0 / 329.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.565e-05/0.00794, allocations: 60.69 kB / 329.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00794, allocations: 0 / 329.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001563/0.008097, allocations: 31.92 kB / 329.5 MB, free: 3.164 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.001238/0.009335, allocations: 0.5702 MB / 330.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.74e-05/0.009432, allocations: 44.77 kB / 330.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.009437, allocations: 4 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.255e-05/0.00947, allocations: 32.72 kB / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.009649, allocations: 31.92 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.009967, allocations: 223.6 kB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.863e-05/0.01001, allocations: 75.33 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.749e-05/0.01004, allocations: 17.08 kB / 330.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.0101, allocations: 71.36 kB / 330.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of SimCode: time 6.32e-07/0.0101, allocations: 0 / 330.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of Templates: time 0.003499/0.0136, allocations: 2.011 MB / 332.6 MB, free: 376 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.9203068390488625]