Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.001346/0.001346, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.0009835/0.0009835, allocations: 165.3 kB / 23.8 MB, free: 0.7773 MB / 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.9062/0.9062, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.1891/0.1891, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.399e-05, allocations: 6.25 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002274/0.002298, allocations: 1.74 MB / 349.5 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.003715, allocations: 1.517 MB / 351 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.003818, allocations: 0 / 351 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.004142, allocations: 43.77 kB / 351.1 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.004402, allocations: 55.69 kB / 351.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.004613, allocations: 87.7 kB / 351.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.004747, allocations: 111.6 kB / 351.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.526e-05/0.004823, allocations: 4.234 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.053e-05/0.004893, allocations: 51.83 kB / 351.4 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.76e-05/0.004981, allocations: 27.91 kB / 351.4 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.004997, allocations: 8 kB / 351.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.005101, allocations: 67.83 kB / 351.5 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.005141, allocations: 15.92 kB / 351.5 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.005174, allocations: 15.94 kB / 351.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.005338, allocations: 115.6 kB / 351.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.005341, allocations: 0 / 351.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.005343, allocations: 4 kB / 351.6 MB, free: 5.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.005348, allocations: 3.938 kB / 351.6 MB, free: 5.48 MB / 282.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.0004109/0.005759, allocations: 436 kB / 352 MB, free: 5.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.00579, allocations: 8.031 kB / 352 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.005836, allocations: 12.89 kB / 352.1 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.005981, allocations: 140.4 kB / 352.2 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.006003, allocations: 8.375 kB / 352.2 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.00602, allocations: 384 / 352.2 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.006162, allocations: 108 kB / 352.3 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.006171, allocations: 3.938 kB / 352.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.00618, allocations: 4 kB / 352.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.006189, allocations: 0 / 352.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.377e-05/0.006223, allocations: 19.92 kB / 352.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/0.006458, allocations: 275.8 kB / 352.6 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.453e-05/0.006542, allocations: 47.17 kB / 352.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.006567, allocations: 19.62 kB / 352.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.006576, allocations: 4 kB / 352.7 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.576e-05/0.006662, allocations: 68.98 kB / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.532e-06/0.006663, allocations: 4 kB / 352.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003367/0.007, allocations: 161.6 kB / 352.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.007024, allocations: 77.11 kB / 353 MB, free: 3.938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.296e-05/0.007117, allocations: 213 kB / 353.2 MB, free: 3.715 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.007131, allocations: 29.64 kB / 353.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.007169, allocations: 142.9 kB / 353.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.007191, allocations: 27.78 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.007219, allocations: 27.38 kB / 353.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.007263, allocations: 0.4884 MB / 353.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.007285, allocations: 15.98 kB / 353.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.345e-05/0.007318, allocations: 76.75 kB / 354 MB, free: 2.863 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.689e-05/0.007365, allocations: 51.25 kB / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.007366, allocations: 0 / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.51e-05/0.007462, allocations: 93.53 kB / 354.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.007472, allocations: 4 kB / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.007476, allocations: 0 / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.007488, allocations: 0 / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.007552, allocations: 19.98 kB / 354.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.007557, allocations: 0 / 354.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.608e-05/0.007623, allocations: 0 / 354.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.007636, allocations: 12.06 kB / 354.2 MB, free: 2.672 MB / 282.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 5.793e-05/0.007694, allocations: 164.5 kB / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.007716, allocations: 15.95 kB / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.007862, allocations: 98.53 kB / 354.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.007865, allocations: 3.984 kB / 354.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.007868, allocations: 4 kB / 354.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.007871, allocations: 3.984 kB / 354.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.008097, allocations: 385 kB / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.008098, allocations: 0 / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.506e-05/0.008123, allocations: 15.97 kB / 354.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.008125, allocations: 0 / 354.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.008132, allocations: 4 kB / 354.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.008134, allocations: 0 / 354.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.008135, allocations: 0 / 354.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.008241, allocations: 263.4 kB / 355.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.008252, allocations: 11.94 kB / 355.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.008269, allocations: 0 / 355.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.008309, allocations: 8 kB / 355.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.008337, allocations: 7.984 kB / 355.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.008349, allocations: 8 kB / 355.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.89e-05/0.008397, allocations: 166.6 kB / 355.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008397, allocations: 0 / 355.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000181/0.008578, allocations: 27.94 kB / 355.3 MB, free: 1.426 MB / 282.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.0009158/0.009494, allocations: 483.7 kB / 355.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.009619, allocations: 59.61 kB / 355.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009621, allocations: 0 / 355.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.303e-05/0.009654, allocations: 31.61 kB / 355.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.009859, allocations: 39.77 kB / 355.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.01013, allocations: 193.1 kB / 356.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.659e-05/0.01016, allocations: 67.25 kB / 356.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.947e-05/0.0102, allocations: 16.61 kB / 356.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.01023, allocations: 24.5 kB / 356.2 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01023, allocations: 0 / 356.2 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of Templates: time 0.004041/0.01427, allocations: 2.292 MB / 358.5 MB, free: 14.28 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.3625764781609178]