Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001278/0.001278, 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.001424/0.001424, 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.441/1.441, 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.2215/0.2215, allocations: 46.97 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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.91 kB / 0.4974 GB, free: 7.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2833, allocations: 66.04 MB / 0.5619 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003205/0.2865, allocations: 1.706 MB / 0.5636 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.2883, allocations: 0.9744 MB / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.94e-05/0.2883, allocations: 0 / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.2886, allocations: 47.75 kB / 0.5646 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.2889, allocations: 99.55 kB / 0.5647 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.2891, allocations: 83.66 kB / 0.5647 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.2893, allocations: 103.7 kB / 0.5648 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.2e-05/0.2894, allocations: 8 kB / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.72e-05/0.2895, allocations: 47.77 kB / 0.5649 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.638e-05/0.2896, allocations: 31.8 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.2896, allocations: 4 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.246e-05/0.2897, allocations: 39.98 kB / 0.565 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.2897, allocations: 27.91 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.2898, allocations: 31.73 kB / 0.565 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.29, allocations: 129.8 kB / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.29, allocations: 4 kB / 0.5651 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.29, allocations: 0 / 0.5651 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.29, allocations: 4 kB / 0.5651 GB, free: 0.7891 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.0005207/0.2905, allocations: 349.5 kB / 0.5655 GB, free: 428 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2906, allocations: 8.031 kB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.2906, allocations: 8.891 kB / 0.5655 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.2909, allocations: 154.3 kB / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2909, allocations: 4.375 kB / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.2909, allocations: 8.125 kB / 0.5657 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.2911, allocations: 53.61 kB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2911, allocations: 7.984 kB / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2911, allocations: 4 kB / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2911, allocations: 4 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.588e-05/0.2912, allocations: 19.98 kB / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.2916, allocations: 236.5 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.2918, allocations: 66.48 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.2919, allocations: 16.86 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.2919, allocations: 0 / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.292, allocations: 75.38 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.292, allocations: 0 / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005526/0.2926, allocations: 185.3 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.2926, allocations: 55.39 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.2929, allocations: 222.6 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.2929, allocations: 29.7 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.961e-05/0.293, allocations: 108.1 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.293, allocations: 23.84 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.293, allocations: 21.72 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2932, allocations: 330.8 kB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/0.2933, allocations: 19.98 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.669e-05/0.2933, allocations: 41.64 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.2935, allocations: 61.7 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2935, allocations: 0 / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002107/0.2937, allocations: 109.5 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2937, allocations: 4 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2937, allocations: 4 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2937, allocations: 0 / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.163e-05/0.2938, allocations: 12 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2938, allocations: 0 / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/0.2938, allocations: 12.02 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.2939, allocations: 4 kB / 0.5673 GB, free: 14.39 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.0001097/0.294, allocations: 129.7 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.294, allocations: 19.89 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.2943, allocations: 119 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2943, allocations: 0 / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2943, allocations: 3.984 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.2943, allocations: 12.23 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.2943, allocations: 7.938 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.596e-05/0.2944, allocations: 7.984 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.2944, allocations: 7.938 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002501/0.2947, allocations: 188.9 kB / 0.5678 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003015/0.295, allocations: 286.6 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.942e-05/0.295, allocations: 27.92 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.2952, allocations: 163.2 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of Backend: time 1.4e-07/0.2952, allocations: 0 / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.2974, allocations: 0.5098 MB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007144/0.2981, allocations: 0.675 MB / 0.5694 GB, free: 12.37 MB / 414.1 MB Notification: Performance of Templates: time 0.005324/0.3034, allocations: 2.022 MB / 0.5714 GB, free: 10.38 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.726801536999119]