Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.001738/0.001738, allocations: 70.81 kB / 19.93 MB, free: 1.777 MB / 14.72 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.001594/0.001594, allocations: 168.6 kB / 23.21 MB, free: 4.895 MB / 14.72 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.611/1.611, allocations: 158.6 MB / 185 MB, free: 6.426 MB / 174.1 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.2329/0.2329, allocations: 32.37 MB / 269.6 MB, free: 4.672 MB / 254.1 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 407.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.119e-05, allocations: 2.281 kB / 407.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.004018/0.004049, allocations: 1.678 MB / 409.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.005997, allocations: 0.7763 MB / 409.9 MB, free: 484 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.905e-05/0.006086, allocations: 7.938 kB / 409.9 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.006425, allocations: 39.81 kB / 409.9 MB, free: 436 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.00673, allocations: 51.7 kB / 410 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.007062, allocations: 102.9 kB / 410.1 MB, free: 284 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.007286, allocations: 87.7 kB / 410.2 MB, free: 196 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.007406, allocations: 20.2 kB / 410.2 MB, free: 176 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.007569, allocations: 51.78 kB / 410.2 MB, free: 124 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.238e-05/0.007661, allocations: 23.91 kB / 410.3 MB, free: 100 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.007684, allocations: 4 kB / 410.3 MB, free: 96 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.007789, allocations: 43.92 kB / 410.3 MB, free: 52 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.007893, allocations: 23.92 kB / 410.3 MB, free: 28 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.816e-05/0.007951, allocations: 23.86 kB / 410.4 MB, free: 4 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.008223, allocations: 111.7 kB / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.008229, allocations: 7.938 kB / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.008231, allocations: 0 / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.008236, allocations: 0 / 410.5 MB, free: 15.88 MB / 350.1 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.0006365/0.008873, allocations: 341.6 kB / 410.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.008912, allocations: 12.03 kB / 410.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.008967, allocations: 12.84 kB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.009295, allocations: 147.2 kB / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.009313, allocations: 4.375 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.009339, allocations: 384 / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.009515, allocations: 58.23 kB / 411 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.00953, allocations: 3.938 kB / 411 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.009542, allocations: 3.938 kB / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.009546, allocations: 0 / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.598e-05/0.009632, allocations: 27.97 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.01002, allocations: 236.5 kB / 411.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.01022, allocations: 62.61 kB / 411.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.41e-05/0.01029, allocations: 28.78 kB / 411.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.01031, allocations: 0 / 411.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.01049, allocations: 67.39 kB / 411.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 4.128e-06/0.01049, allocations: 3.984 kB / 411.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007752/0.01126, allocations: 177.4 kB / 411.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.01132, allocations: 55.41 kB / 411.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.01155, allocations: 203.2 kB / 411.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.01157, allocations: 29.7 kB / 411.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.01165, allocations: 104.1 kB / 412 MB, free: 14.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.976e-05/0.01174, allocations: 27.78 kB / 412 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.01178, allocations: 21.66 kB / 412.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.01195, allocations: 326.8 kB / 412.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.01201, allocations: 19.98 kB / 412.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.641e-05/0.01209, allocations: 41.7 kB / 412.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.01222, allocations: 65.64 kB / 412.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01223, allocations: 0 / 412.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002163/0.01244, allocations: 113.6 kB / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.01246, allocations: 4 kB / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01246, allocations: 0 / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.01248, allocations: 0 / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.644e-05/0.01257, allocations: 16.19 kB / 412.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.01258, allocations: 3.938 kB / 412.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.11e-05/0.01263, allocations: 11.92 kB / 412.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.01264, allocations: 8.031 kB / 412.7 MB, free: 13.51 MB / 350.1 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 0.0001444/0.01279, allocations: 129.3 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.01281, allocations: 15.89 kB / 412.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.01309, allocations: 119.1 kB / 412.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01309, allocations: 4 kB / 412.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.0131, allocations: 0 / 412.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.0131, allocations: 0 / 412.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.01372, allocations: 350.9 kB / 413.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.01372, allocations: 7.938 kB / 413.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.01376, allocations: 16.03 kB / 413.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01376, allocations: 0 / 413.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.01377, allocations: 384 / 413.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.01378, allocations: 4 kB / 413.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01378, allocations: 0 / 413.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.01407, allocations: 220.2 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.01409, allocations: 11.91 kB / 413.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.01411, allocations: 0 / 413.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.01419, allocations: 8 kB / 413.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.01423, allocations: 3.984 kB / 413.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.01424, allocations: 8 kB / 413.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002152/0.01446, allocations: 159.9 kB / 413.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01446, allocations: 0 / 413.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.01473, allocations: 27.92 kB / 413.7 MB, free: 12.38 MB / 350.1 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.001904/0.01663, allocations: 0.491 MB / 414.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.0169, allocations: 55.91 kB / 414.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.0169, allocations: 0 / 414.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.01704, allocations: 31.98 kB / 414.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.01763, allocations: 24.28 kB / 414.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.01834, allocations: 242 kB / 414.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.01844, allocations: 96.42 kB / 414.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.442e-05/0.01849, allocations: 16.34 kB / 414.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.01854, allocations: 16.5 kB / 414.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.01854, allocations: 0 / 414.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Templates: time 0.006586/0.02513, allocations: 1.835 MB / 416.5 MB, free: 9.629 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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: 5.191954296082258]