Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.0008022/0.0008022, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001015/0.001015, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9225/0.9225, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1411/0.1411, allocations: 34.25 MB / 296.1 MB, free: 13.99 MB / 282.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 325.3 MB, free: 0.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.188e-05/3.346e-05, allocations: 2.312 kB / 325.3 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.005255/0.005289, allocations: 1.718 MB / 327 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.006493, allocations: 0.9935 MB / 328 MB, free: 13.97 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.00656, allocations: 0 / 328 MB, free: 13.97 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.006849, allocations: 51.75 kB / 328.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.007092, allocations: 103.5 kB / 328.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.007212, allocations: 71.67 kB / 328.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.007347, allocations: 107.6 kB / 328.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.007391, allocations: 16.22 kB / 328.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/0.00747, allocations: 43.91 kB / 328.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.709e-05/0.007537, allocations: 27.91 kB / 328.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.00755, allocations: 4 kB / 328.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-05/0.007633, allocations: 31.92 kB / 328.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.007677, allocations: 31.86 kB / 328.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.007707, allocations: 23.86 kB / 328.5 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.007852, allocations: 99.59 kB / 328.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.007857, allocations: 0 / 328.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.007858, allocations: 0 / 328.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.007862, allocations: 0 / 328.6 MB, free: 13.37 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003583/0.008221, allocations: 348 kB / 329 MB, free: 13.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.008251, allocations: 8.031 kB / 329 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.008278, allocations: 4.938 kB / 329 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.008425, allocations: 162.4 kB / 329.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.00844, allocations: 8.359 kB / 329.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.008451, allocations: 4.375 kB / 329.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.008552, allocations: 61.7 kB / 329.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.008559, allocations: 3.938 kB / 329.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.008566, allocations: 0 / 329.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.008571, allocations: 0 / 329.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.00859, allocations: 8 kB / 329.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.067e-05/0.00867, allocations: 74.69 kB / 329.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.699e-05/0.008747, allocations: 41.42 kB / 329.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.008765, allocations: 8.859 kB / 329.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.008775, allocations: 4 kB / 329.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.395e-05/0.008849, allocations: 58.16 kB / 329.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.00885, allocations: 0 / 329.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001807/0.009031, allocations: 61.67 kB / 329.5 MB, free: 12.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.009059, allocations: 59.34 kB / 329.5 MB, free: 12.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.00918, allocations: 212 kB / 329.7 MB, free: 12.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.009194, allocations: 33.69 kB / 329.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.75e-05/0.009222, allocations: 96.09 kB / 329.9 MB, free: 11.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.009249, allocations: 19.84 kB / 329.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.009273, allocations: 13.72 kB / 329.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.009343, allocations: 330.7 kB / 330.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.00936, allocations: 10.81 kB / 330.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.00938, allocations: 21.7 kB / 330.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/0.009417, allocations: 39.36 kB / 330.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.009419, allocations: 0 / 330.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000103/0.009522, allocations: 64.44 kB / 330.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.009534, allocations: 4 kB / 330.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.009539, allocations: 0 / 330.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.009552, allocations: 0 / 330.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.068e-05/0.009613, allocations: 11.94 kB / 330.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.009618, allocations: 4 kB / 330.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.009648, allocations: 8.297 kB / 330.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.009654, allocations: 4 kB / 330.4 MB, free: 11.43 MB / 314.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 (7): * Single equations (assignments): 7 * 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.529e-05/0.00972, allocations: 116.6 kB / 330.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.009734, allocations: 11.98 kB / 330.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.25e-05/0.009826, allocations: 78.75 kB / 330.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.009828, allocations: 0 / 330.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.00983, allocations: 3.938 kB / 330.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.009834, allocations: 0 / 330.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.38e-05/0.009908, allocations: 89.84 kB / 330.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.009908, allocations: 0 / 330.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.519e-05/0.009924, allocations: 4 kB / 330.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.009924, allocations: 0 / 330.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.00993, allocations: 4 kB / 330.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.00993, allocations: 4 kB / 330.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.009931, allocations: 0 / 330.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.562e-05/0.009997, allocations: 94.62 kB / 330.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.01001, allocations: 19.84 kB / 330.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.01002, allocations: 0 / 330.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.892e-05/0.01004, allocations: 3.984 kB / 330.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.01006, allocations: 8 kB / 330.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.01007, allocations: 0 / 330.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.872e-05/0.01013, allocations: 80.72 kB / 330.9 MB, free: 10.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01013, allocations: 0 / 330.9 MB, free: 10.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001093/0.01024, allocations: 24 kB / 330.9 MB, free: 10.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001031/0.01127, allocations: 0.4961 MB / 331.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.637e-05/0.01135, allocations: 32.78 kB / 331.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.01135, allocations: 4 kB / 331.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.185e-05/0.01138, allocations: 16.84 kB / 331.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.01151, allocations: 48.31 kB / 331.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.01181, allocations: 246.5 kB / 331.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.424e-05/0.01184, allocations: 71.33 kB / 331.8 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.808e-05/0.01187, allocations: 12.48 kB / 331.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.01192, allocations: 63.36 kB / 331.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01193, allocations: 0 / 331.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of Templates: time 0.003302/0.01523, allocations: 1.787 MB / 333.7 MB, free: 8.281 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.0034544658847153]