Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.001318/0.001318, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00171/0.003028, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001058/0.001058, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001329/0.002388, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9371/0.9371, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1584/1.095, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1461/0.1461, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02228/0.1684, allocations: 12.31 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.02e-07/9.02e-07, allocations: 0 / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034e-05/1.124e-05, allocations: 2.312 kB / 267.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.001973/0.001985, allocations: 1.774 MB / 269.3 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.003045, allocations: 0.8114 MB / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.003115, allocations: 0 / 270.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.003313, allocations: 67.61 kB / 270.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.00345, allocations: 51.7 kB / 270.2 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.003663, allocations: 95.62 kB / 270.3 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.003815, allocations: 99.58 kB / 270.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.373e-05/0.003888, allocations: 4.234 kB / 270.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.004011, allocations: 71.89 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.542e-05/0.004076, allocations: 23.91 kB / 270.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.004091, allocations: 4 kB / 270.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-05/0.004168, allocations: 55.8 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.004209, allocations: 19.94 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.004236, allocations: 15.94 kB / 270.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.004379, allocations: 107.6 kB / 270.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.004388, allocations: 3.984 kB / 270.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004389, allocations: 0 / 270.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.004399, allocations: 0 / 270.7 MB, free: 15.25 MB / 282.7 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.0004241/0.004823, allocations: 367.5 kB / 271 MB, free: 14.87 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.004851, allocations: 8.031 kB / 271 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.00488, allocations: 8.922 kB / 271 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.005016, allocations: 153.6 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.005028, allocations: 4.375 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.005042, allocations: 4.312 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.687e-05/0.005129, allocations: 61.77 kB / 271.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.005137, allocations: 3.938 kB / 271.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.005144, allocations: 7.984 kB / 271.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.005147, allocations: 0 / 271.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.005171, allocations: 15.92 kB / 271.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.005354, allocations: 173.9 kB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.855e-05/0.005432, allocations: 85.36 kB / 271.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.00545, allocations: 12.86 kB / 271.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.005461, allocations: 0 / 271.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.399e-05/0.005545, allocations: 78.08 kB / 271.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.005546, allocations: 0 / 271.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002909/0.005837, allocations: 113.5 kB / 271.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.00586, allocations: 51.41 kB / 271.8 MB, free: 14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.00597, allocations: 215.7 kB / 272 MB, free: 13.78 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.005983, allocations: 25.7 kB / 272 MB, free: 13.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.006013, allocations: 100.1 kB / 272.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.006035, allocations: 27.84 kB / 272.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.006063, allocations: 25.7 kB / 272.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.00613, allocations: 326.8 kB / 272.5 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.006144, allocations: 6.828 kB / 272.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.006167, allocations: 29.69 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.006207, allocations: 40.53 kB / 272.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.006209, allocations: 4 kB / 272.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.037e-05/0.006299, allocations: 76.42 kB / 272.7 MB, free: 13.08 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.148e-06/0.006308, allocations: 7.938 kB / 272.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.006312, allocations: 4.031 kB / 272.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.006321, allocations: 0 / 272.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.876e-05/0.00638, allocations: 19.98 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.006383, allocations: 0 / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.006409, allocations: 7.938 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.006413, allocations: 0 / 272.7 MB, free: 13.04 MB / 282.7 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 5.665e-05/0.00647, allocations: 120.7 kB / 272.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.006483, allocations: 15.92 kB / 272.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.82e-05/0.006571, allocations: 79.2 kB / 272.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.006574, allocations: 8 kB / 272.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006575, allocations: 3.938 kB / 272.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.006578, allocations: 0 / 272.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.006768, allocations: 295.4 kB / 273.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.00677, allocations: 0 / 273.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.006796, allocations: 16 kB / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.006807, allocations: 11.91 kB / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.00681, allocations: 3.984 kB / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.006815, allocations: 0 / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.006816, allocations: 4 kB / 273.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006818, allocations: 4.344 kB / 273.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.045e-05/0.006908, allocations: 211.1 kB / 273.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.006924, allocations: 8 kB / 273.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.827e-05/0.006962, allocations: 7.984 kB / 273.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.006984, allocations: 7.938 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.006995, allocations: 7.984 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.051e-05/0.007045, allocations: 72.88 kB / 273.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007045, allocations: 0 / 273.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000139/0.007184, allocations: 20 kB / 273.6 MB, free: 12.1 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001178/0.008362, allocations: 0.636 MB / 274.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.645e-05/0.008448, allocations: 48.77 kB / 274.3 MB, free: 11.4 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.008455, allocations: 4 kB / 274.3 MB, free: 11.4 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.498e-05/0.00849, allocations: 32.88 kB / 274.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.008775, allocations: 180.3 kB / 274.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.009209, allocations: 262.8 kB / 274.7 MB, free: 10.87 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.92e-05/0.009248, allocations: 72.27 kB / 274.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.261e-05/0.009281, allocations: 8.5 kB / 274.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.41e-05/0.009345, allocations: 67.36 kB / 274.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009345, allocations: 4.094 kB / 274.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of Templates: time 0.003618/0.01296, allocations: 2.056 MB / 276.9 MB, free: 8.641 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.717608221806586]