Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001358/0.001358, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001703/0.001703, allocations: 167.8 kB / 23.96 MB, free: 4.141 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.515/1.515, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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.2165/0.2165, allocations: 34.28 MB / 295 MB, free: 14.57 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 442.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.924e-05, allocations: 2.281 kB / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003344/0.003374, allocations: 1.684 MB / 444.4 MB, free: 3.609 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.005227, allocations: 0.9548 MB / 445.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.199e-05/0.005309, allocations: 4 kB / 445.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.005639, allocations: 55.69 kB / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.005974, allocations: 103.5 kB / 445.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.006153, allocations: 67.67 kB / 445.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.006352, allocations: 111.6 kB / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.006393, allocations: 4.234 kB / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.006512, allocations: 55.78 kB / 445.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.006614, allocations: 23.91 kB / 445.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.006637, allocations: 4 kB / 445.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.577e-05/0.006723, allocations: 31.92 kB / 445.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.854e-05/0.006801, allocations: 31.86 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.006853, allocations: 19.92 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.007091, allocations: 119.5 kB / 446 MB, free: 2.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.007095, allocations: 0 / 446 MB, free: 2.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.007095, allocations: 4 kB / 446 MB, free: 2.023 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.0071, allocations: 4 kB / 446 MB, free: 2.02 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006794/0.00778, allocations: 357.4 kB / 446.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.007825, allocations: 15.97 kB / 446.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.00788, allocations: 12.84 kB / 446.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.008146, allocations: 162.5 kB / 446.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.008162, allocations: 8.297 kB / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.008173, allocations: 384 / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.008323, allocations: 50.23 kB / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.008334, allocations: 3.938 kB / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.008346, allocations: 8 kB / 446.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.008351, allocations: 0 / 446.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.592e-05/0.008427, allocations: 23.97 kB / 446.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.008624, allocations: 137.3 kB / 446.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.008804, allocations: 54.55 kB / 446.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/0.008864, allocations: 20.84 kB / 446.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.00888, allocations: 0 / 446.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.009037, allocations: 63.39 kB / 446.9 MB, free: 1.004 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.009038, allocations: 4 kB / 446.9 MB, free: 1 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003126/0.009351, allocations: 105.5 kB / 447 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.009398, allocations: 55.34 kB / 447.1 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.009692, allocations: 279 kB / 447.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.009711, allocations: 25.7 kB / 447.4 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.009794, allocations: 116.1 kB / 447.5 MB, free: 404 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.009829, allocations: 15.84 kB / 447.5 MB, free: 388 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.00987, allocations: 21.7 kB / 447.5 MB, free: 360 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.01004, allocations: 326.8 kB / 447.8 MB, free: 24 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/0.01009, allocations: 12 kB / 447.9 MB, free: 12 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2022/0.2123, allocations: 31.56 kB / 447.9 MB, free: 19.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.2125, allocations: 46.98 kB / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.2125, allocations: 0 / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002062/0.2127, allocations: 91.73 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2127, allocations: 5.188 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2127, allocations: 5.031 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2127, allocations: 1.781 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.45e-05/0.2128, allocations: 12.89 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2128, allocations: 2.094 kB / 448.1 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.2129, allocations: 2.891 kB / 448.1 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.2129, allocations: 3.25 kB / 448.1 MB, free: 19.12 MB / 366.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.0001048/0.213, allocations: 132.9 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.213, allocations: 18.55 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.2132, allocations: 106.5 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2132, allocations: 1.188 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2132, allocations: 0 / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2132, allocations: 2.156 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.2133, allocations: 150.4 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2133, allocations: 0 / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.2134, allocations: 8.984 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2134, allocations: 0 / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.2134, allocations: 5.031 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2134, allocations: 3.812 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2134, allocations: 0 / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.2136, allocations: 120.5 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.2136, allocations: 14.27 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.2136, allocations: 4.828 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.165e-05/0.2137, allocations: 2.875 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.2137, allocations: 5.25 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.2137, allocations: 3.875 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.2139, allocations: 207.1 kB / 448.8 MB, free: 18.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2139, allocations: 3.938 kB / 448.8 MB, free: 18.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.2141, allocations: 23.12 kB / 448.9 MB, free: 18.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001667/0.2158, allocations: 436.5 kB / 449.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.216, allocations: 40.83 kB / 449.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.216, allocations: 3.375 kB / 449.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.66e-05/0.2161, allocations: 29.81 kB / 449.4 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.2165, allocations: 37.22 kB / 449.4 MB, free: 18.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000743/0.2172, allocations: 268.4 kB / 449.7 MB, free: 18.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.2174, allocations: 103 kB / 449.8 MB, free: 18.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.019e-05/0.2175, allocations: 14.73 kB / 449.8 MB, free: 18.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.2175, allocations: 18.34 kB / 449.8 MB, free: 18.32 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2175, allocations: 0 / 449.8 MB, free: 18.32 MB / 366.1 MB Notification: Performance of Templates: time 0.006136/0.2236, allocations: 1.642 MB / 451.4 MB, free: 18.12 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.995464786887169]