Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.00127/0.00127, allocations: 106.8 kB / 21.19 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.001408/0.001408, allocations: 217.3 kB / 24.49 MB, free: 3.934 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2217/0.2217, allocations: 46.96 MB / 361.6 MB, free: 4.023 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 59.91 kB / 0.4974 GB, free: 7.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2841, allocations: 66.04 MB / 0.5619 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003239/0.2874, allocations: 1.666 MB / 0.5635 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.2892, allocations: 0.9598 MB / 0.5644 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.528e-05/0.2893, allocations: 0 / 0.5644 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.2896, allocations: 43.75 kB / 0.5645 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.29, allocations: 99.61 kB / 0.5646 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.2902, allocations: 83.66 kB / 0.5647 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.2904, allocations: 95.7 kB / 0.5648 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.2904, allocations: 8.219 kB / 0.5648 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.967e-05/0.2905, allocations: 43.78 kB / 0.5648 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.651e-05/0.2906, allocations: 35.73 kB / 0.5648 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.2906, allocations: 4 kB / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.542e-05/0.2907, allocations: 31.98 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.111e-05/0.2908, allocations: 27.91 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.2908, allocations: 35.73 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.2911, allocations: 129.8 kB / 0.5651 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2911, allocations: 0 / 0.5651 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2911, allocations: 0 / 0.5651 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.2911, allocations: 0 / 0.5651 GB, free: 0.8594 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.000696/0.2918, allocations: 365.4 kB / 0.5654 GB, free: 484 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.2918, allocations: 8.031 kB / 0.5654 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.2919, allocations: 12.89 kB / 0.5654 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.2923, allocations: 163.2 kB / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2923, allocations: 4.375 kB / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.2923, allocations: 12.12 kB / 0.5656 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.2925, allocations: 49.67 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2925, allocations: 0 / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.2925, allocations: 4 kB / 0.5657 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2925, allocations: 0 / 0.5657 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/0.2926, allocations: 19.92 kB / 0.5657 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.2928, allocations: 133.3 kB / 0.5658 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.2931, allocations: 62.53 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.577e-05/0.2931, allocations: 24.84 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.2931, allocations: 0 / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.2933, allocations: 71.33 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.2933, allocations: 0 / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003791/0.2937, allocations: 109.5 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.2937, allocations: 55.39 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.294, allocations: 274.8 kB / 0.5664 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.2941, allocations: 25.7 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.2942, allocations: 116.1 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.2942, allocations: 11.91 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.2943, allocations: 29.7 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2944, allocations: 322.8 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.364e-05/0.2945, allocations: 15.98 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.664e-05/0.2945, allocations: 33.7 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.2946, allocations: 45.64 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2947, allocations: 4 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001707/0.2948, allocations: 89.52 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2948, allocations: 4 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2948, allocations: 4.031 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2949, allocations: 3.938 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.671e-05/0.2949, allocations: 12 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2949, allocations: 0 / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.568e-05/0.295, allocations: 15.88 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.295, allocations: 4 kB / 0.5671 GB, free: 14.61 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 0.0001177/0.2951, allocations: 129.8 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.2951, allocations: 19.84 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.2954, allocations: 107 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2954, allocations: 0 / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2954, allocations: 4 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.2954, allocations: 11.91 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.2954, allocations: 4 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.261e-05/0.2955, allocations: 4 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.2955, allocations: 7.984 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002203/0.2957, allocations: 168.8 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002687/0.296, allocations: 266.7 kB / 0.5678 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.791e-05/0.2961, allocations: 23.98 kB / 0.5678 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.2963, allocations: 204.6 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of Backend: time 2.6e-07/0.2963, allocations: 4 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.2982, allocations: 466.5 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007734/0.299, allocations: 0.7026 MB / 0.5691 GB, free: 12.6 MB / 414.1 MB Notification: Performance of Templates: time 0.004904/0.3039, allocations: 1.791 MB / 0.5709 GB, free: 10.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.671450533998723]