Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001819/0.001819, allocations: 85.91 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.00198/0.00198, allocations: 164.8 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.585/1.585, allocations: 177.2 MB / 204.3 MB, free: 9.152 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.219/0.219, allocations: 34.28 MB / 295 MB, free: 14.55 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 442.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.126e-05, allocations: 9.656 kB / 442.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003107/0.003138, allocations: 1.673 MB / 444.4 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.005178, allocations: 0.9587 MB / 445.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.005297, allocations: 4 kB / 445.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004916/0.005789, allocations: 67.59 kB / 445.5 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000488/0.006277, allocations: 103.5 kB / 445.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.006566, allocations: 79.56 kB / 445.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.006855, allocations: 111.6 kB / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.189e-05/0.006927, allocations: 4.234 kB / 445.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.007095, allocations: 59.81 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.007255, allocations: 43.89 kB / 445.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.007285, allocations: 7.938 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.007414, allocations: 35.97 kB / 445.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.621e-05/0.00751, allocations: 19.92 kB / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.258e-05/0.007573, allocations: 15.94 kB / 445.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.00787, allocations: 103.6 kB / 446 MB, free: 1.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.007876, allocations: 0 / 446 MB, free: 1.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.007878, allocations: 0 / 446 MB, free: 1.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.007887, allocations: 0 / 446 MB, free: 1.996 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.0007687/0.008656, allocations: 333.6 kB / 446.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.008704, allocations: 19.95 kB / 446.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.125e-05/0.008766, allocations: 16.84 kB / 446.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.009065, allocations: 150.2 kB / 446.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.009087, allocations: 8.375 kB / 446.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.009101, allocations: 384 / 446.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.009276, allocations: 50.23 kB / 446.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.009289, allocations: 3.938 kB / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.009301, allocations: 0 / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.009306, allocations: 0 / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.638e-05/0.009393, allocations: 15.98 kB / 446.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.009641, allocations: 137.3 kB / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.009846, allocations: 58.53 kB / 446.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.009908, allocations: 16.86 kB / 446.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.009928, allocations: 0 / 446.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.01011, allocations: 67.39 kB / 446.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.01011, allocations: 0 / 446.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003471/0.01046, allocations: 109.4 kB / 447 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.01052, allocations: 51.41 kB / 447.1 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.01075, allocations: 202.3 kB / 447.2 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.01077, allocations: 25.7 kB / 447.3 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.01085, allocations: 108.1 kB / 447.4 MB, free: 0.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.01088, allocations: 7.906 kB / 447.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.01092, allocations: 25.7 kB / 447.4 MB, free: 472 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.0111, allocations: 322.8 kB / 447.7 MB, free: 140 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.371e-05/0.01115, allocations: 16 kB / 447.7 MB, free: 124 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/0.01121, allocations: 25.7 kB / 447.8 MB, free: 92 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.01134, allocations: 49.64 kB / 447.8 MB, free: 36 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01134, allocations: 4 kB / 447.8 MB, free: 32 kB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.2136/0.225, allocations: 76.69 kB / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.225, allocations: 5.062 kB / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.225, allocations: 4.266 kB / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.225, allocations: 5.125 kB / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/0.2251, allocations: 14.77 kB / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2251, allocations: 0.6562 kB / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.2252, allocations: 7.578 kB / 447.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2252, allocations: 5.844 kB / 447.9 MB, free: 19.16 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.000136/0.2253, allocations: 126.8 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.2253, allocations: 10.41 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.2256, allocations: 99.69 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2256, allocations: 4.906 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2256, allocations: 0.6094 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2256, allocations: 0.6094 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.2257, allocations: 138.6 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2257, allocations: 1.188 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.8e-05/0.2258, allocations: 5.062 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2258, allocations: 0 / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.2258, allocations: 2.062 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2258, allocations: 0.9062 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2258, allocations: 0.7031 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.226, allocations: 120.3 kB / 448.4 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.226, allocations: 13.67 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.226, allocations: 8.406 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.965e-05/0.226, allocations: 5.172 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.2261, allocations: 3.562 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.2261, allocations: 4.891 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.2262, allocations: 149.7 kB / 448.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2262, allocations: 0 / 448.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.2265, allocations: 18.09 kB / 448.6 MB, free: 18.75 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.001569/0.228, allocations: 445.1 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.2282, allocations: 42.16 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2282, allocations: 1.031 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.704e-05/0.2283, allocations: 23.36 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.2286, allocations: 40.22 kB / 449.2 MB, free: 18.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.229, allocations: 207.5 kB / 449.4 MB, free: 18.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.479e-05/0.2291, allocations: 90.19 kB / 449.5 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.498e-05/0.2291, allocations: 15.36 kB / 449.5 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.2292, allocations: 14.78 kB / 449.5 MB, free: 18.38 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2292, allocations: 0 / 449.5 MB, free: 18.38 MB / 366.1 MB Notification: Performance of Templates: time 0.005327/0.2345, allocations: 1.613 MB / 451.1 MB, free: 18.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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: 5.060863498598337]