Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001711/0.001711, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002101/0.002101, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.453/1.453, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2227/0.2227, allocations: 46.96 MB / 361.6 MB, free: 4.055 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.91 kB / 0.4974 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2756, allocations: 66.03 MB / 0.5619 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003188/0.2788, allocations: 1.675 MB / 0.5635 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.2805, allocations: 0.955 MB / 0.5644 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.2805, allocations: 0 / 0.5644 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.2808, allocations: 59.73 kB / 0.5645 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.2811, allocations: 115.5 kB / 0.5646 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.2813, allocations: 75.73 kB / 0.5647 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.2814, allocations: 111.6 kB / 0.5648 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.2815, allocations: 4.234 kB / 0.5648 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.732e-05/0.2816, allocations: 51.77 kB / 0.5648 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.2817, allocations: 43.83 kB / 0.5649 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.2817, allocations: 4 kB / 0.5649 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-05/0.2818, allocations: 28 kB / 0.5649 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.41e-05/0.2818, allocations: 23.91 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.689e-05/0.2819, allocations: 31.8 kB / 0.565 GB, free: 1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.2821, allocations: 109.9 kB / 0.5651 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2821, allocations: 4 kB / 0.5651 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2821, allocations: 0 / 0.5651 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2821, allocations: 0 / 0.5651 GB, free: 0.8945 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005376/0.2826, allocations: 337.6 kB / 0.5654 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2827, allocations: 8.031 kB / 0.5654 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.2827, allocations: 16.78 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.283, allocations: 147 kB / 0.5656 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.283, allocations: 384 / 0.5656 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.283, allocations: 12.12 kB / 0.5656 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.2831, allocations: 53.61 kB / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.2831, allocations: 4 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.2832, allocations: 0 / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2832, allocations: 0 / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.782e-05/0.2832, allocations: 15.98 kB / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.2834, allocations: 129.3 kB / 0.5658 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.2836, allocations: 54.61 kB / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.2836, allocations: 24.84 kB / 0.5658 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.2836, allocations: 3.938 kB / 0.5658 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.2838, allocations: 75.27 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.2838, allocations: 0 / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002892/0.2841, allocations: 93.62 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.2841, allocations: 51.41 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.2843, allocations: 202.3 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.2844, allocations: 25.7 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.2844, allocations: 104.1 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.2844, allocations: 11.89 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.2845, allocations: 21.72 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.2846, allocations: 322.8 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.2847, allocations: 19.92 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.113e-05/0.2847, allocations: 29.72 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.2849, allocations: 45.95 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2849, allocations: 4 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001781/0.285, allocations: 93.45 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.285, allocations: 4 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.285, allocations: 4.031 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2851, allocations: 4 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.2851, allocations: 8 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2851, allocations: 3.984 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.2852, allocations: 15.92 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.2852, allocations: 0 / 0.5669 GB, free: 14.8 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 (7): * Single equations (assignments): 7 * 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 9.992e-05/0.2853, allocations: 125.7 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.2853, allocations: 19.88 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.2856, allocations: 94.77 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2856, allocations: 0 / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2856, allocations: 4 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.2856, allocations: 15.89 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.2856, allocations: 0 / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.885e-05/0.2856, allocations: 0 / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.2857, allocations: 4 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002129/0.2859, allocations: 168.8 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002635/0.2861, allocations: 262.8 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.41e-05/0.2862, allocations: 19.98 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.2863, allocations: 156.2 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of Backend: time 2.71e-07/0.2863, allocations: 0 / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.2883, allocations: 461.8 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007092/0.289, allocations: 0.6583 MB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of Templates: time 0.004777/0.2938, allocations: 1.738 MB / 0.5706 GB, free: 11.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.770196981000481]