Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001562/0.001562, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00174/0.00174, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.239/0.239, allocations: 46.93 MB / 361.6 MB, free: 4.359 MB / 286.1 MB " [Timeout remaining time 179] 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.Test80,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.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,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.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003214/0.003214, allocations: 71.89 kB / 0.4974 GB, free: 7.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.4742, allocations: 66.02 MB / 0.5619 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003539/0.4777, allocations: 1.85 MB / 0.5637 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.4808, allocations: 1.809 MB / 0.5655 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.4809, allocations: 3.938 kB / 0.5655 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.4812, allocations: 55.69 kB / 0.5655 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004231/0.4817, allocations: 135.3 kB / 0.5657 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.4819, allocations: 107.7 kB / 0.5658 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.4822, allocations: 207.3 kB / 0.566 GB, free: 240 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.472e-05/0.4823, allocations: 13.8 kB / 0.566 GB, free: 224 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.4825, allocations: 95.56 kB / 0.5661 GB, free: 128 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.4827, allocations: 83.61 kB / 0.5662 GB, free: 44 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.4827, allocations: 8 kB / 0.5662 GB, free: 36 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.483, allocations: 115.9 kB / 0.5663 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.485e-05/0.4831, allocations: 43.77 kB / 0.5663 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.937e-05/0.4831, allocations: 55.61 kB / 0.5664 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.4835, allocations: 229.5 kB / 0.5666 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4835, allocations: 3.938 kB / 0.5666 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4835, allocations: 0 / 0.5666 GB, free: 15.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.4835, allocations: 8 kB / 0.5666 GB, free: 15.59 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.0007625/0.4843, allocations: 428.9 kB / 0.567 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4843, allocations: 8.031 kB / 0.567 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.4844, allocations: 16.84 kB / 0.567 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.4848, allocations: 190.1 kB / 0.5672 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.4848, allocations: 8.375 kB / 0.5672 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.4848, allocations: 8.109 kB / 0.5672 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.4851, allocations: 101 kB / 0.5673 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4851, allocations: 0 / 0.5673 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.4851, allocations: 0 / 0.5673 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.4851, allocations: 4 kB / 0.5673 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.4852, allocations: 31.97 kB / 0.5674 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.4855, allocations: 193.5 kB / 0.5676 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.4858, allocations: 109.2 kB / 0.5677 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.327e-05/0.4858, allocations: 37.64 kB / 0.5677 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.4859, allocations: 4 kB / 0.5677 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.4861, allocations: 116.9 kB / 0.5678 GB, free: 14.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.4861, allocations: 0 / 0.5678 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004551/0.4866, allocations: 165.4 kB / 0.568 GB, free: 14.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.889e-05/0.4867, allocations: 132.5 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.487, allocations: 240.1 kB / 0.5683 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.487, allocations: 33.7 kB / 0.5684 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.251e-05/0.4871, allocations: 116.1 kB / 0.5685 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.4871, allocations: 27.8 kB / 0.5685 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.4872, allocations: 25.72 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.4873, allocations: 330.8 kB / 0.5688 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.4874, allocations: 27.98 kB / 0.5689 GB, free: 13.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.4876, allocations: 77.58 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.4877, allocations: 95.34 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4878, allocations: 0 / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002707/0.488, allocations: 137.5 kB / 0.5692 GB, free: 12.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.488, allocations: 8 kB / 0.5692 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.488, allocations: 0 / 0.5692 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4881, allocations: 0 / 0.5692 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4882, allocations: 23.98 kB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4882, allocations: 3.938 kB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.759e-05/0.4883, allocations: 19.88 kB / 0.5692 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.4883, allocations: 7.938 kB / 0.5692 GB, free: 12.65 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.0001395/0.4884, allocations: 138.4 kB / 0.5693 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.4885, allocations: 23.89 kB / 0.5694 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.4888, allocations: 142.7 kB / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4888, allocations: 4 kB / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4888, allocations: 0 / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4888, allocations: 256 / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.489, allocations: 204.5 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.489, allocations: 4 kB / 0.5697 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.598e-05/0.4891, allocations: 11.98 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4891, allocations: 4 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.4891, allocations: 0 / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.4891, allocations: 7.938 kB / 0.5697 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4891, allocations: 0 / 0.5697 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.4894, allocations: 173.7 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.4894, allocations: 19.83 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.4895, allocations: 4 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.4895, allocations: 15.98 kB / 0.5699 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.4896, allocations: 7.984 kB / 0.5699 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.4896, allocations: 4 kB / 0.5699 GB, free: 11.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.4898, allocations: 173.8 kB / 0.5701 GB, free: 11.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4898, allocations: 4 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000286/0.4901, allocations: 55.86 kB / 0.5702 GB, free: 11.59 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 (10): * Single equations (assignments): 6 * 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.001788/0.4919, allocations: 0.502 MB / 0.5707 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.4921, allocations: 83.91 kB / 0.5707 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4921, allocations: 0 / 0.5707 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.4922, allocations: 35.92 kB / 0.5708 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.4926, allocations: 58.69 kB / 0.5708 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000629/0.4932, allocations: 301.4 kB / 0.5711 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.4936, allocations: 0.7282 MB / 0.5718 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.4937, allocations: 31.36 kB / 0.5719 GB, free: 9.988 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4937, allocations: 0 / 0.5719 GB, free: 9.988 MB / 414.1 MB Notification: Performance of Templates: time 0.005817/0.4995, allocations: 3.178 MB / 0.575 GB, free: 6.824 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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: 8.458501565968618]