Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001261/0.001261, 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.00136/0.00136, allocations: 217.3 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.406/1.406, allocations: 230.6 MB / 258.3 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.224/0.224, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 63.91 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2808, allocations: 66.05 MB / 0.5619 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003077/0.2839, allocations: 1.702 MB / 0.5636 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.2856, allocations: 0.9715 MB / 0.5645 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.2857, allocations: 0 / 0.5645 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.286, allocations: 79.7 kB / 0.5646 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.2863, allocations: 127.4 kB / 0.5647 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.2865, allocations: 75.75 kB / 0.5648 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.2867, allocations: 119.7 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.335e-05/0.2867, allocations: 4 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.593e-05/0.2868, allocations: 55.77 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.2869, allocations: 63.75 kB / 0.565 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.287, allocations: 8 kB / 0.565 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-05/0.2871, allocations: 47.97 kB / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.2871, allocations: 23.86 kB / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.2872, allocations: 35.73 kB / 0.5651 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.2874, allocations: 121.8 kB / 0.5652 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2874, allocations: 4 kB / 0.5652 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2874, allocations: 4 kB / 0.5652 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.2874, allocations: 0 / 0.5652 GB, free: 0.6875 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.0005407/0.2879, allocations: 353.5 kB / 0.5656 GB, free: 320 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.288, allocations: 8.031 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.288, allocations: 20.83 kB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.2882, allocations: 158.3 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.2883, allocations: 4.312 kB / 0.5658 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.2883, allocations: 8.125 kB / 0.5658 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.2884, allocations: 57.66 kB / 0.5658 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2884, allocations: 4 kB / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.2885, allocations: 0 / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2885, allocations: 0 / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.816e-05/0.2885, allocations: 23.98 kB / 0.5659 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.2889, allocations: 240.5 kB / 0.5661 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.2891, allocations: 54.61 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.006e-05/0.2891, allocations: 20.84 kB / 0.5662 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.2892, allocations: 4 kB / 0.5662 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.2893, allocations: 71.38 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.2893, allocations: 0 / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005649/0.2899, allocations: 189.3 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.2899, allocations: 51.41 kB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.2902, allocations: 223.6 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.2902, allocations: 29.7 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.2903, allocations: 108.1 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.2903, allocations: 27.78 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.2903, allocations: 25.72 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2905, allocations: 326.8 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.2906, allocations: 31.92 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.2906, allocations: 33.7 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.2908, allocations: 57.7 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2908, allocations: 0 / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002205/0.291, allocations: 113.5 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.291, allocations: 4 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.291, allocations: 4 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.291, allocations: 0.5625 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.2911, allocations: 19.97 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2911, allocations: 3.938 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.2912, allocations: 15.98 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.2912, allocations: 4 kB / 0.5674 GB, free: 14.24 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.0001175/0.2913, allocations: 136.9 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.2913, allocations: 15.91 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.2916, allocations: 123.2 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2916, allocations: 0 / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2916, allocations: 0 / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.2916, allocations: 7.953 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.2917, allocations: 7.938 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.965e-05/0.2917, allocations: 11.98 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.2917, allocations: 0 / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002505/0.292, allocations: 184.9 kB / 0.5679 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002889/0.2923, allocations: 286.6 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.213e-05/0.2924, allocations: 27.98 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.2925, allocations: 173.1 kB / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of Backend: time 3.01e-07/0.2925, allocations: 0 / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.2947, allocations: 0.52 MB / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007538/0.2955, allocations: 0.6879 MB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of Templates: time 0.005121/0.3006, allocations: 2.038 MB / 0.5715 GB, free: 10.2 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.663382652004657]