Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001785/0.001785, allocations: 79.06 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.002233/0.002233, allocations: 164.6 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.501/1.501, allocations: 177.2 MB / 204.3 MB, free: 9.172 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.2265/0.2265, allocations: 34.28 MB / 294.9 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.495e-05, allocations: 2.281 kB / 442.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003361/0.003396, allocations: 1.722 MB / 444.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.005398, allocations: 0.9742 MB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.68e-05/0.005485, allocations: 0 / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003691/0.005854, allocations: 51.75 kB / 445.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.006227, allocations: 99.53 kB / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.00646, allocations: 91.47 kB / 445.7 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.006663, allocations: 107.6 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.006762, allocations: 4 kB / 445.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.006872, allocations: 55.83 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.643e-05/0.006958, allocations: 27.91 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.006982, allocations: 4 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.007084, allocations: 43.97 kB / 445.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.224e-05/0.007167, allocations: 35.86 kB / 446 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.007213, allocations: 15.94 kB / 446 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.00748, allocations: 147.4 kB / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.007484, allocations: 0 / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.007486, allocations: 0 / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.007497, allocations: 0 / 446.1 MB, free: 1.914 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006745/0.008171, allocations: 367.9 kB / 446.5 MB, free: 1.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.008211, allocations: 8.031 kB / 446.5 MB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.008263, allocations: 16.84 kB / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.008535, allocations: 162.5 kB / 446.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.008553, allocations: 4.375 kB / 446.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.008583, allocations: 12.3 kB / 446.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.008751, allocations: 58.17 kB / 446.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.008768, allocations: 3.938 kB / 446.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.008779, allocations: 0 / 446.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.008783, allocations: 0 / 446.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.737e-05/0.008871, allocations: 23.98 kB / 446.8 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.009284, allocations: 232.6 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.009496, allocations: 62.61 kB / 447.1 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.477e-05/0.00956, allocations: 28.78 kB / 447.1 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.00958, allocations: 3.938 kB / 447.1 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.009741, allocations: 67.39 kB / 447.2 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.009742, allocations: 0 / 447.2 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006557/0.0104, allocations: 205.4 kB / 447.4 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.01044, allocations: 51.41 kB / 447.4 MB, free: 0.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.01075, allocations: 275 kB / 447.7 MB, free: 228 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.01078, allocations: 25.7 kB / 447.7 MB, free: 196 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/0.01087, allocations: 116.1 kB / 447.8 MB, free: 76 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.01091, allocations: 35.77 kB / 447.9 MB, free: 40 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.01095, allocations: 21.72 kB / 447.9 MB, free: 12 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2082/0.2192, allocations: 326.1 kB / 448.2 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.2193, allocations: 20.03 kB / 448.2 MB, free: 19.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.2194, allocations: 43.53 kB / 448.3 MB, free: 19.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.2195, allocations: 61.3 kB / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2195, allocations: 0 / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002446/0.2198, allocations: 103.7 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2198, allocations: 6.938 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2198, allocations: 0.6562 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.2198, allocations: 1.062 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.2199, allocations: 19.52 kB / 448.4 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2199, allocations: 8.562 kB / 448.5 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.228e-05/0.22, allocations: 5.25 kB / 448.5 MB, free: 18.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.22, allocations: 2.938 kB / 448.5 MB, free: 18.97 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 (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.0001082/0.2201, allocations: 134.4 kB / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.2202, allocations: 17.69 kB / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.2204, allocations: 131.5 kB / 448.7 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2204, allocations: 1.094 kB / 448.7 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2204, allocations: 3.938 kB / 448.7 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2205, allocations: 2.75 kB / 448.7 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.2209, allocations: 353.1 kB / 449.1 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2209, allocations: 5.531 kB / 449.1 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.2209, allocations: 14.2 kB / 449.1 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2209, allocations: 1.312 kB / 449.1 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.2209, allocations: 9.547 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2209, allocations: 1.062 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2209, allocations: 1.75 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.2212, allocations: 222.2 kB / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.2212, allocations: 14.08 kB / 449.4 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.2212, allocations: 5.891 kB / 449.4 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.2213, allocations: 7.641 kB / 449.4 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.2213, allocations: 9.781 kB / 449.4 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.2214, allocations: 4.25 kB / 449.4 MB, free: 18.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.2215, allocations: 205.8 kB / 449.6 MB, free: 18.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2215, allocations: 1.094 kB / 449.6 MB, free: 18.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.2218, allocations: 26.09 kB / 449.6 MB, free: 18.35 MB / 366.1 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.001851/0.2237, allocations: 0.4922 MB / 450.1 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.2239, allocations: 57.7 kB / 450.2 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2239, allocations: 3.938 kB / 450.2 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.914e-05/0.2239, allocations: 36.66 kB / 450.2 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.2243, allocations: 26.94 kB / 450.2 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.2248, allocations: 302.1 kB / 450.5 MB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.298e-05/0.2249, allocations: 109.9 kB / 450.6 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.239e-05/0.225, allocations: 16.67 kB / 450.6 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.225, allocations: 18.47 kB / 450.7 MB, free: 17.88 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.225, allocations: 0 / 450.7 MB, free: 17.88 MB / 366.1 MB Notification: Performance of Templates: time 0.005678/0.2307, allocations: 1.867 MB / 452.5 MB, free: 17.63 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.994097575545311]