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.002169/0.002169, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.00227/0.00227, allocations: 165.2 kB / 23.53 MB, free: 0.8984 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 1.696/1.696, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.2574/0.2574, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|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.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.313e-05/4.592e-05, allocations: 2.312 kB / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.0044/0.004446, allocations: 1.703 MB / 348.7 MB, free: 8.016 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002851/0.007297, allocations: 1.494 MB / 350.2 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.007426, allocations: 0 / 350.2 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005468/0.007973, allocations: 39.7 kB / 350.3 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004194/0.008392, allocations: 67.62 kB / 350.3 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.008801, allocations: 83.7 kB / 350.4 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.009085, allocations: 103.7 kB / 350.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.009234, allocations: 4.234 kB / 350.5 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.009397, allocations: 55.78 kB / 350.6 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.009595, allocations: 31.89 kB / 350.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.009634, allocations: 4 kB / 350.6 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.00985, allocations: 63.89 kB / 350.7 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.894e-05/0.009939, allocations: 11.94 kB / 350.7 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.01002, allocations: 23.92 kB / 350.7 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.01037, allocations: 123.5 kB / 350.8 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.01037, allocations: 0 / 350.8 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.01038, allocations: 4 kB / 350.8 MB, free: 5.906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.01038, allocations: 0 / 350.8 MB, free: 5.906 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.0007935/0.01118, allocations: 439.6 kB / 351.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.502e-05/0.01124, allocations: 8.031 kB / 351.3 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.66e-05/0.01134, allocations: 16.88 kB / 351.3 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.01165, allocations: 148.4 kB / 351.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.01168, allocations: 384 / 351.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.01172, allocations: 8.375 kB / 351.4 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.01199, allocations: 103.2 kB / 351.5 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.01201, allocations: 3.938 kB / 351.5 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.01202, allocations: 4 kB / 351.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.01203, allocations: 0 / 351.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.01213, allocations: 19.98 kB / 351.6 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.01263, allocations: 275.8 kB / 351.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.01288, allocations: 67.09 kB / 351.9 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.457e-05/0.01296, allocations: 23.62 kB / 351.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.01298, allocations: 4 kB / 351.9 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.01318, allocations: 73.03 kB / 352 MB, free: 4.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.01319, allocations: 0 / 352 MB, free: 4.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000813/0.014, allocations: 173.3 kB / 352.2 MB, free: 4.414 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.01406, allocations: 85.11 kB / 352.2 MB, free: 4.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.01427, allocations: 217 kB / 352.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.01429, allocations: 29.7 kB / 352.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.01436, allocations: 146.8 kB / 352.6 MB, free: 3.902 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.01441, allocations: 27.8 kB / 352.7 MB, free: 3.875 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.01448, allocations: 39.36 kB / 352.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.01464, allocations: 0.5 MB / 353.2 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/0.01471, allocations: 16 kB / 353.2 MB, free: 3.301 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.636e-05/0.01481, allocations: 76.75 kB / 353.3 MB, free: 3.207 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.01495, allocations: 71.33 kB / 353.4 MB, free: 3.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.01495, allocations: 3.938 kB / 353.4 MB, free: 3.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002067/0.01516, allocations: 101.5 kB / 353.5 MB, free: 3.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.01518, allocations: 11.98 kB / 353.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.01519, allocations: 384 / 353.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.01521, allocations: 0 / 353.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.01534, allocations: 12 kB / 353.5 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.01535, allocations: 7.938 kB / 353.5 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.472e-05/0.01541, allocations: 8 kB / 353.5 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.01542, allocations: 7.984 kB / 353.5 MB, free: 2.973 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 9.938e-05/0.01552, allocations: 169.5 kB / 353.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.01555, allocations: 11.95 kB / 353.7 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.01582, allocations: 122.5 kB / 353.8 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01583, allocations: 0 / 353.8 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.01583, allocations: 0 / 353.8 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.01584, allocations: 0 / 353.8 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.01627, allocations: 405 kB / 354.2 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01627, allocations: 0 / 354.2 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.01632, allocations: 11.98 kB / 354.2 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01632, allocations: 0 / 354.2 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.01635, allocations: 8.031 kB / 354.2 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01635, allocations: 0 / 354.2 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01635, allocations: 0 / 354.2 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.01661, allocations: 279.4 kB / 354.5 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.01662, allocations: 3.953 kB / 354.5 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.01666, allocations: 4 kB / 354.5 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.991e-05/0.01675, allocations: 7.984 kB / 354.5 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.01681, allocations: 7.984 kB / 354.5 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.01683, allocations: 4 kB / 354.5 MB, free: 1.875 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.01693, allocations: 167 kB / 354.7 MB, free: 1.711 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01693, allocations: 0 / 354.7 MB, free: 1.711 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003882/0.01732, allocations: 39.92 kB / 354.7 MB, free: 1.672 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.003912/0.02123, allocations: 0.5336 MB / 355.2 MB, free: 1.242 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.02152, allocations: 63.61 kB / 355.3 MB, free: 1.176 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.02153, allocations: 4 kB / 355.3 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.879e-05/0.02161, allocations: 35.83 kB / 355.4 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.0221, allocations: 37.59 kB / 355.4 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.02274, allocations: 205.1 kB / 355.6 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.02285, allocations: 95.3 kB / 355.7 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.203e-05/0.02292, allocations: 12.48 kB / 355.7 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.749e-05/0.02299, allocations: 20.48 kB / 355.7 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02299, allocations: 0 / 355.7 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of Templates: time 0.008895/0.03188, allocations: 2.116 MB / 357.8 MB, free: 14.62 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.015201927977614]