Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001285/0.001285, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.00131/0.00131, allocations: 165.1 kB / 23.96 MB, free: 4.164 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.403/1.403, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2028/0.2028, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 3.938 kB / 440.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.324e-05, allocations: 2.281 kB / 440.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003238/0.003262, allocations: 1.902 MB / 442.1 MB, free: 6.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.005121, allocations: 1.009 MB / 443.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.48e-05/0.005206, allocations: 4 kB / 443.1 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.005488, allocations: 39.7 kB / 443.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.005807, allocations: 107.3 kB / 443.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.006074, allocations: 95.59 kB / 443.3 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.006311, allocations: 147.5 kB / 443.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.006413, allocations: 21.8 kB / 443.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.006552, allocations: 83.69 kB / 443.6 MB, free: 4.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.218e-05/0.006644, allocations: 39.88 kB / 443.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.00667, allocations: 8 kB / 443.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-05/0.006768, allocations: 43.92 kB / 443.7 MB, free: 4.555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.006836, allocations: 31.84 kB / 443.7 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.273e-05/0.006899, allocations: 31.86 kB / 443.7 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.007155, allocations: 151.4 kB / 443.9 MB, free: 4.344 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.007158, allocations: 8 kB / 443.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.007159, allocations: 0 / 443.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.007167, allocations: 0 / 443.9 MB, free: 4.336 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006519/0.007819, allocations: 411 kB / 444.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.007851, allocations: 8.031 kB / 444.3 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.007903, allocations: 20.83 kB / 444.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.008178, allocations: 174.2 kB / 444.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.008193, allocations: 8.359 kB / 444.5 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.00822, allocations: 12.38 kB / 444.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.008477, allocations: 130.5 kB / 444.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.00849, allocations: 3.938 kB / 444.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.008504, allocations: 4 kB / 444.6 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.008508, allocations: 4 kB / 444.6 MB, free: 3.492 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.008668, allocations: 51.91 kB / 444.7 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.00924, allocations: 448.7 kB / 445.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.009576, allocations: 86.66 kB / 445.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.009677, allocations: 40.83 kB / 445.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.009689, allocations: 0 / 445.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.009901, allocations: 113 kB / 445.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.009903, allocations: 3.938 kB / 445.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004328/0.01034, allocations: 153.4 kB / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.01038, allocations: 51.41 kB / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.01061, allocations: 211.6 kB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.01063, allocations: 29.7 kB / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/0.01073, allocations: 120 kB / 445.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.01076, allocations: 31.75 kB / 445.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.01081, allocations: 33.7 kB / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.01097, allocations: 326.8 kB / 446.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.164e-05/0.01106, allocations: 27.98 kB / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.01119, allocations: 67.39 kB / 446.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.0114, allocations: 104.1 kB / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.0114, allocations: 0 / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003065/0.01171, allocations: 141.4 kB / 446.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.01172, allocations: 4 kB / 446.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.01173, allocations: 0 / 446.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.01174, allocations: 8.125 kB / 446.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.01184, allocations: 23.98 kB / 446.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.01185, allocations: 0 / 446.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.608e-05/0.01192, allocations: 19.88 kB / 446.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.01193, allocations: 4 kB / 446.7 MB, free: 1.277 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001265/0.01206, allocations: 134.2 kB / 446.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.01209, allocations: 11.91 kB / 446.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.0124, allocations: 139 kB / 447 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01241, allocations: 7.984 kB / 447 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.01241, allocations: 3.984 kB / 447 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01241, allocations: 4 kB / 447 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.01258, allocations: 153.2 kB / 447.1 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01258, allocations: 0 / 447.1 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.01266, allocations: 8 kB / 447.1 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.01267, allocations: 4 kB / 447.1 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.01268, allocations: 0 / 447.1 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.01269, allocations: 7.984 kB / 447.2 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01269, allocations: 0 / 447.2 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.0131, allocations: 200.8 kB / 447.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.01313, allocations: 15.92 kB / 447.4 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.01315, allocations: 4 kB / 447.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.01322, allocations: 8 kB / 447.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.01327, allocations: 7.922 kB / 447.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.01328, allocations: 4 kB / 447.4 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.01343, allocations: 147.2 kB / 447.5 MB, free: 380 kB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01343, allocations: 0 / 447.5 MB, free: 380 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.01367, allocations: 31.92 kB / 447.6 MB, free: 348 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001576/0.01525, allocations: 439.1 kB / 448 MB, free: 92 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.01552, allocations: 83.89 kB / 448.1 MB, free: 8 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01552, allocations: 0 / 448.1 MB, free: 8 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1686/0.1842, allocations: 35.69 kB / 448.1 MB, free: 21.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1845, allocations: 41.28 kB / 448.1 MB, free: 21.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/0.1851, allocations: 267.2 kB / 448.4 MB, free: 21.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.971e-05/0.1851, allocations: 105.4 kB / 448.5 MB, free: 21.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.344e-05/0.1852, allocations: 15.8 kB / 448.5 MB, free: 21.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.1852, allocations: 17.3 kB / 448.5 MB, free: 21.26 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1852, allocations: 3.062 kB / 448.5 MB, free: 21.26 MB / 366.1 MB Notification: Performance of Templates: time 0.005538/0.1908, allocations: 2.027 MB / 450.6 MB, free: 21.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.550788402557373]