Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.00105/0.00105, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001107/0.001107, allocations: 173.4 kB / 24.05 MB, free: 456 kB / 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.069/1.069, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1444/0.1444, allocations: 32.37 MB / 270.7 MB, free: 14.55 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 348.2 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/2.022e-05, allocations: 2.312 kB / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.001947/0.001968, allocations: 1.725 MB / 349.9 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008477/0.002815, allocations: 0.7842 MB / 350.7 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.00289, allocations: 4 kB / 350.7 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.003176, allocations: 91.69 kB / 350.8 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.003383, allocations: 83.59 kB / 350.9 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.003575, allocations: 91.62 kB / 351 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.003711, allocations: 103.7 kB / 351.1 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.443e-05/0.003796, allocations: 8.219 kB / 351.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.928e-05/0.003885, allocations: 67.81 kB / 351.2 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.746e-05/0.003983, allocations: 59.86 kB / 351.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.004009, allocations: 4 kB / 351.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.156e-05/0.00409, allocations: 43.92 kB / 351.3 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.004139, allocations: 27.86 kB / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.004173, allocations: 19.92 kB / 351.3 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.004316, allocations: 103.6 kB / 351.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004318, allocations: 0 / 351.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.004319, allocations: 0 / 351.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.004323, allocations: 3.938 kB / 351.4 MB, free: 5.879 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.0003193/0.004642, allocations: 455.8 kB / 351.9 MB, free: 5.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.004676, allocations: 12.03 kB / 351.9 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.004707, allocations: 16.84 kB / 351.9 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.004819, allocations: 148.4 kB / 352 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.004834, allocations: 8.375 kB / 352 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.004849, allocations: 4.375 kB / 352 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.507e-05/0.004944, allocations: 54.94 kB / 352.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.004953, allocations: 3.938 kB / 352.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.004962, allocations: 7.984 kB / 352.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.004968, allocations: 3.984 kB / 352.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.406e-05/0.004992, allocations: 11.94 kB / 352.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.005202, allocations: 268.3 kB / 352.4 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.837e-05/0.00528, allocations: 51.17 kB / 352.4 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.005297, allocations: 15.69 kB / 352.5 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.005311, allocations: 7.938 kB / 352.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.742e-05/0.005389, allocations: 72.97 kB / 352.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.00539, allocations: 0 / 352.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002775/0.005667, allocations: 133.5 kB / 352.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.725e-05/0.005685, allocations: 51.41 kB / 352.7 MB, free: 4.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.005768, allocations: 241.8 kB / 352.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.333e-06/0.005775, allocations: 25.7 kB / 353 MB, free: 4.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.00581, allocations: 162.8 kB / 353.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.005832, allocations: 31.78 kB / 353.2 MB, free: 3.953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.005861, allocations: 31.36 kB / 353.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.00591, allocations: 0.4962 MB / 353.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.005926, allocations: 8 kB / 353.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.005951, allocations: 35.34 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.948e-05/0.00599, allocations: 47.3 kB / 353.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005992, allocations: 0 / 353.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.156e-05/0.006073, allocations: 89.55 kB / 353.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.006084, allocations: 4 kB / 353.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.006089, allocations: 4.109 kB / 353.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.0061, allocations: 0 / 353.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.93e-05/0.006169, allocations: 23.98 kB / 353.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.006173, allocations: 3.984 kB / 353.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.006202, allocations: 0 / 353.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.006208, allocations: 4 kB / 353.9 MB, free: 3.168 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.005e-05/0.006258, allocations: 168.5 kB / 354.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.006273, allocations: 19.84 kB / 354.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.006394, allocations: 95.12 kB / 354.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.006396, allocations: 0 / 354.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.006398, allocations: 4 kB / 354.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.006401, allocations: 0 / 354.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.006616, allocations: 369.5 kB / 354.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.006618, allocations: 0 / 354.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.006644, allocations: 15.94 kB / 354.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.006647, allocations: 0 / 354.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.006654, allocations: 4.375 kB / 354.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.006656, allocations: 4 kB / 354.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.006657, allocations: 4 kB / 354.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.418e-05/0.006752, allocations: 251.5 kB / 354.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.006764, allocations: 19.92 kB / 354.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.006778, allocations: 4 kB / 354.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.006819, allocations: 4 kB / 354.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.006842, allocations: 7.984 kB / 354.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.006852, allocations: 4 kB / 354.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.27e-05/0.006895, allocations: 171.1 kB / 355 MB, free: 1.965 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006895, allocations: 3.938 kB / 355 MB, free: 1.961 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.007059, allocations: 27.94 kB / 355.1 MB, free: 1.934 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.0008718/0.007931, allocations: 436.8 kB / 355.5 MB, free: 1.598 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.503e-05/0.008026, allocations: 51.52 kB / 355.5 MB, free: 1.543 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.008028, allocations: 4 kB / 355.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.93e-05/0.008057, allocations: 27.77 kB / 355.6 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.008286, allocations: 36.06 kB / 355.6 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.008548, allocations: 233.5 kB / 355.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.797e-05/0.008576, allocations: 71.34 kB / 355.9 MB, free: 1.125 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.281e-05/0.008609, allocations: 20.59 kB / 355.9 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.008662, allocations: 86.19 kB / 356 MB, free: 1.02 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.008663, allocations: 0 / 356 MB, free: 1.02 MB / 282.7 MB Notification: Performance of Templates: time 0.003757/0.01242, allocations: 2.02 MB / 358 MB, free: 15.02 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.111896986141801]