Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001815/0.001815, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.00227/0.00227, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2162/0.2162, allocations: 46.97 MB / 361.6 MB, free: 4.008 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 71.88 kB / 0.4974 GB, free: 7.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.28, allocations: 66.04 MB / 0.5619 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003071/0.2831, allocations: 1.706 MB / 0.5636 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.2847, allocations: 0.9676 MB / 0.5645 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.2848, allocations: 0 / 0.5645 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.285, allocations: 39.77 kB / 0.5645 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.2853, allocations: 103.5 kB / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.2855, allocations: 79.67 kB / 0.5647 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.2856, allocations: 107.7 kB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.924e-05/0.2857, allocations: 4 kB / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.874e-05/0.2858, allocations: 39.8 kB / 0.5649 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.119e-05/0.2858, allocations: 43.77 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.2858, allocations: 4 kB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-05/0.2859, allocations: 39.98 kB / 0.5649 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.286, allocations: 19.92 kB / 0.565 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.286, allocations: 31.73 kB / 0.565 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.2862, allocations: 125.8 kB / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2862, allocations: 4 kB / 0.5651 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2862, allocations: 0 / 0.5651 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.2862, allocations: 0 / 0.5651 GB, free: 0.793 MB / 398.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.000488/0.2867, allocations: 341.6 kB / 0.5654 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.2867, allocations: 8.031 kB / 0.5655 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.2868, allocations: 12.84 kB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.287, allocations: 142.4 kB / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.287, allocations: 384 / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.287, allocations: 20 kB / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.2872, allocations: 53.67 kB / 0.5657 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2872, allocations: 4 kB / 0.5657 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.2872, allocations: 11.98 kB / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-06/0.2872, allocations: 0 / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.927e-05/0.2873, allocations: 19.98 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.2876, allocations: 232.5 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.2878, allocations: 54.62 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.91e-05/0.2878, allocations: 20.84 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.2879, allocations: 0 / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.288, allocations: 71.39 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.288, allocations: 0 / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005354/0.2885, allocations: 181.3 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.2886, allocations: 55.39 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.2888, allocations: 187.2 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.2888, allocations: 25.7 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.2888, allocations: 108.1 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.2889, allocations: 23.84 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.2889, allocations: 21.72 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2891, allocations: 330.8 kB / 0.567 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-05/0.2891, allocations: 27.92 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.2892, allocations: 33.7 kB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.2893, allocations: 65.69 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.2893, allocations: 0 / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002103/0.2896, allocations: 109.6 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2896, allocations: 7.984 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2896, allocations: 4 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.2896, allocations: 192 / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.232e-05/0.2897, allocations: 16.03 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2897, allocations: 3.938 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.2897, allocations: 4 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.2897, allocations: 7.984 kB / 0.5672 GB, free: 14.45 MB / 414.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.0001051/0.2898, allocations: 133.7 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.2899, allocations: 7.953 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.2901, allocations: 123 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.2901, allocations: 3.984 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2901, allocations: 3.938 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.2902, allocations: 7.953 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.2902, allocations: 16.31 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.124e-05/0.2902, allocations: 0 / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.2903, allocations: 11.98 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002551/0.2905, allocations: 184.9 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002941/0.2908, allocations: 282.7 kB / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.839e-05/0.2909, allocations: 23.98 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.291, allocations: 150 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of Backend: time 1.7e-07/0.291, allocations: 0 / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002097/0.2931, allocations: 0.5089 MB / 0.5686 GB, free: 13.17 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006293/0.2937, allocations: 0.6614 MB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of Templates: time 0.004808/0.2985, allocations: 2.001 MB / 0.5712 GB, free: 10.49 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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: 4.683364832999359]