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.001764/0.001764, allocations: 99.66 kB / 21.18 MB, free: 0.6445 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.002569/0.002569, allocations: 210 kB / 24.48 MB, free: 3.938 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.474/1.474, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.23/0.23, allocations: 46.96 MB / 361.6 MB, free: 4.121 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.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.002363/0.002363, allocations: 71.89 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3432, allocations: 66.03 MB / 0.5619 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.00398/0.3472, allocations: 1.788 MB / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00332/0.3505, allocations: 1.735 MB / 0.5653 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.3507, allocations: 0 / 0.5653 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.351, allocations: 59.62 kB / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000598/0.3516, allocations: 143.4 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.3519, allocations: 103.7 kB / 0.5656 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.3523, allocations: 199.4 kB / 0.5658 GB, free: 84 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.597e-05/0.3523, allocations: 13.78 kB / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.3525, allocations: 83.59 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.3528, allocations: 83.53 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.3529, allocations: 12 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.3531, allocations: 99.95 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.3533, allocations: 43.83 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.068e-05/0.3533, allocations: 47.67 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004686/0.3538, allocations: 237.6 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3538, allocations: 0 / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3538, allocations: 0 / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.3538, allocations: 3.938 kB / 0.5664 GB, free: 15.47 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.0008072/0.3546, allocations: 428.9 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3547, allocations: 12.03 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.3548, allocations: 16.84 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.3552, allocations: 182.2 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.3552, allocations: 4.375 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3552, allocations: 16.11 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.3555, allocations: 160.4 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3556, allocations: 0 / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.3556, allocations: 0 / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3556, allocations: 4 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.3557, allocations: 35.91 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002396/0.3559, allocations: 154.2 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.3562, allocations: 109.2 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.3564, allocations: 41.7 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3564, allocations: 7.938 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.3566, allocations: 116.9 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.3566, allocations: 0 / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005281/0.3572, allocations: 173.4 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/0.3573, allocations: 136.5 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.3576, allocations: 244.1 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.3577, allocations: 33.7 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.855e-05/0.3577, allocations: 116.1 kB / 0.5683 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.3578, allocations: 27.8 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.3579, allocations: 29.72 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.3581, allocations: 330.8 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.384e-05/0.3582, allocations: 28.48 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.3583, allocations: 128.5 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.3585, allocations: 95.39 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3585, allocations: 4 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003227/0.3588, allocations: 145.4 kB / 0.569 GB, free: 12.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3589, allocations: 8 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3589, allocations: 0 / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.3589, allocations: 4 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.359, allocations: 19.98 kB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.359, allocations: 0 / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.3592, allocations: 23.88 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3592, allocations: 8.062 kB / 0.5691 GB, free: 12.41 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.0001335/0.3593, allocations: 126.3 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.3594, allocations: 27.83 kB / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.3597, allocations: 162.7 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3597, allocations: 0 / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3597, allocations: 256 / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3598, allocations: 4 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.36, allocations: 169.1 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.36, allocations: 4 kB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.36, allocations: 12 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.36, allocations: 7.875 kB / 0.5696 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.36, allocations: 4 kB / 0.5696 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.36, allocations: 0 / 0.5696 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.3601, allocations: 3.984 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.3604, allocations: 189.7 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.3605, allocations: 27.78 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.3605, allocations: 0 / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-05/0.3606, allocations: 11.98 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.3606, allocations: 11.97 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.3607, allocations: 8 kB / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.3609, allocations: 185.8 kB / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3609, allocations: 0 / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003372/0.3612, allocations: 55.86 kB / 0.5701 GB, free: 11.34 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.002184/0.3634, allocations: 0.5326 MB / 0.5706 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.3637, allocations: 87.83 kB / 0.5707 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3637, allocations: 0 / 0.5707 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.3639, allocations: 35.98 kB / 0.5707 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.3643, allocations: 65.62 kB / 0.5708 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000795/0.3651, allocations: 321.3 kB / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.3652, allocations: 107.4 kB / 0.5712 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.3653, allocations: 27.42 kB / 0.5712 GB, free: 10.35 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3653, allocations: 0 / 0.5712 GB, free: 10.35 MB / 414.1 MB Notification: Performance of Templates: time 0.007208/0.3725, allocations: 3.243 MB / 0.5744 GB, free: 7.121 MB / 414.1 MB " [Timeout remaining time 660] 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.19654165301472]