Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.00181/0.00181, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002271/0.002271, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.481/1.481, allocations: 230.6 MB / 258.2 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] 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.2327/0.2327, allocations: 46.97 MB / 361.6 MB, free: 4.109 MB / 286.1 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 63.91 kB / 0.4974 GB, free: 7.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3367, allocations: 66.03 MB / 0.5619 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003215/0.3399, allocations: 1.788 MB / 0.5636 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002914/0.3429, allocations: 1.724 MB / 0.5653 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.343, allocations: 0 / 0.5653 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.3433, allocations: 59.62 kB / 0.5654 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004936/0.3438, allocations: 147.4 kB / 0.5655 GB, free: 428 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.3441, allocations: 107.6 kB / 0.5656 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.3444, allocations: 207.4 kB / 0.5658 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.669e-05/0.3444, allocations: 5.812 kB / 0.5658 GB, free: 104 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.3446, allocations: 87.62 kB / 0.5659 GB, free: 16 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.3448, allocations: 83.55 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.3448, allocations: 12 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.345, allocations: 107.9 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.999e-05/0.3451, allocations: 43.78 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.472e-05/0.3452, allocations: 47.72 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.3455, allocations: 237.4 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3455, allocations: 0 / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3455, allocations: 0 / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3455, allocations: 0 / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00074/0.3463, allocations: 428.9 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3463, allocations: 12.03 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.3464, allocations: 16.84 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.3467, allocations: 178.2 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3467, allocations: 4.375 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.3468, allocations: 16.12 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.347, allocations: 152.4 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.347, allocations: 3.938 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3471, allocations: 0 / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.3471, allocations: 0 / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.3472, allocations: 35.97 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.3474, allocations: 162.2 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.3477, allocations: 101.2 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.3478, allocations: 45.69 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.3478, allocations: 4 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.3481, allocations: 116.9 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.3481, allocations: 0 / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005034/0.3486, allocations: 185.4 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/0.3487, allocations: 128.5 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.349, allocations: 244.1 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.349, allocations: 33.7 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.717e-05/0.3491, allocations: 124.1 kB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.3491, allocations: 23.81 kB / 0.5683 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.3492, allocations: 33.7 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3493, allocations: 326.8 kB / 0.5687 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-05/0.3494, allocations: 31.97 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.3496, allocations: 128.5 kB / 0.5688 GB, free: 12.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.3498, allocations: 99.38 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3498, allocations: 0 / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002996/0.3501, allocations: 141.4 kB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3501, allocations: 8 kB / 0.5691 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3501, allocations: 0 / 0.5691 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3501, allocations: 4 kB / 0.5691 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.3503, allocations: 20.61 kB / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3503, allocations: 7.922 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.434e-05/0.3504, allocations: 19.89 kB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.3504, allocations: 8.062 kB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001263/0.3505, allocations: 130.3 kB / 0.5692 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.3505, allocations: 23.84 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003941/0.3509, allocations: 166.7 kB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3509, allocations: 0 / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3509, allocations: 0 / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3509, allocations: 4 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.3511, allocations: 169.1 kB / 0.5696 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3511, allocations: 4 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.931e-05/0.3512, allocations: 15.98 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3512, allocations: 3.938 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.3512, allocations: 4 kB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3512, allocations: 3.938 kB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3512, allocations: 0 / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.3516, allocations: 181.8 kB / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.3516, allocations: 23.8 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.3517, allocations: 7.984 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.3518, allocations: 4 kB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.3518, allocations: 7.984 kB / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.3518, allocations: 12 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.352, allocations: 189.8 kB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.352, allocations: 0 / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.3524, allocations: 63.8 kB / 0.5701 GB, free: 11.37 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001987/0.3544, allocations: 0.5149 MB / 0.5706 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.3546, allocations: 91.83 kB / 0.5707 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3546, allocations: 0 / 0.5707 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.3548, allocations: 47.91 kB / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.3552, allocations: 73.62 kB / 0.5708 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006244/0.3558, allocations: 291.6 kB / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.3559, allocations: 107.5 kB / 0.5712 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.356, allocations: 29.47 kB / 0.5712 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/0.3561, allocations: 27.42 kB / 0.5712 GB, free: 10.38 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3561, allocations: 0 / 0.5712 GB, free: 10.38 MB / 414.1 MB Notification: Performance of Templates: time 0.007755/0.3638, allocations: 3.523 MB / 0.5747 GB, free: 6.895 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.155281666986411]