Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.001487/0.001487, allocations: 84.7 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.001568/0.001568, allocations: 166.5 kB / 23.95 MB, free: 4.16 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.401/1.401, allocations: 177.1 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.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.2089/0.2089, allocations: 32.82 MB / 293.5 MB, free: 16 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 440.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.086e-05, allocations: 2.281 kB / 440.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002823/0.002844, allocations: 1.719 MB / 441.9 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.004588, allocations: 0.9665 MB / 442.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.004649, allocations: 4 kB / 442.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.004906, allocations: 39.77 kB / 442.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.00521, allocations: 103.5 kB / 443 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.005396, allocations: 79.55 kB / 443.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.005582, allocations: 111.7 kB / 443.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.898e-05/0.005661, allocations: 4 kB / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.005765, allocations: 55.77 kB / 443.2 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.00584, allocations: 27.91 kB / 443.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.005859, allocations: 4 kB / 443.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.211e-05/0.005951, allocations: 39.98 kB / 443.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.006013, allocations: 31.84 kB / 443.4 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.272e-05/0.006065, allocations: 15.94 kB / 443.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.006269, allocations: 123.5 kB / 443.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.006273, allocations: 7.938 kB / 443.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006273, allocations: 0 / 443.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.006277, allocations: 0 / 443.5 MB, free: 4.719 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.0005374/0.006815, allocations: 349.5 kB / 443.8 MB, free: 4.348 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.006847, allocations: 12.03 kB / 443.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.006893, allocations: 16.89 kB / 443.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.007112, allocations: 157.5 kB / 444 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.007124, allocations: 384 / 444 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.007144, allocations: 4.375 kB / 444 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.007287, allocations: 58.23 kB / 444.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.007299, allocations: 3.938 kB / 444.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.007312, allocations: 7.984 kB / 444.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.007317, allocations: 4 kB / 444.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.804e-05/0.007395, allocations: 19.92 kB / 444.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.007734, allocations: 232.6 kB / 444.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.007907, allocations: 46.69 kB / 444.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.786e-05/0.007964, allocations: 24.78 kB / 444.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.007987, allocations: 8 kB / 444.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.008136, allocations: 67.33 kB / 444.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.008138, allocations: 0 / 444.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000557/0.008695, allocations: 193.3 kB / 444.7 MB, free: 3.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.008743, allocations: 51.41 kB / 444.7 MB, free: 3.355 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.008964, allocations: 211 kB / 444.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.008985, allocations: 25.7 kB / 445 MB, free: 3.109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.009059, allocations: 112.1 kB / 445.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.009097, allocations: 27.78 kB / 445.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.009138, allocations: 17.72 kB / 445.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.009283, allocations: 330.8 kB / 445.4 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.997e-05/0.009343, allocations: 19.98 kB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.27e-05/0.009416, allocations: 37.7 kB / 445.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.009555, allocations: 73.64 kB / 445.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.009556, allocations: 0 / 445.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/0.009759, allocations: 105.6 kB / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.009772, allocations: 7.984 kB / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.009776, allocations: 0 / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.009792, allocations: 8.031 kB / 445.7 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.437e-05/0.009876, allocations: 16.12 kB / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.00988, allocations: 0 / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.009927, allocations: 16.23 kB / 445.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.009933, allocations: 0 / 445.7 MB, free: 2.316 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.0001135/0.01005, allocations: 130.4 kB / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.01007, allocations: 11.94 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.01034, allocations: 131 kB / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01034, allocations: 0 / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.01035, allocations: 0 / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.01035, allocations: 4 kB / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.01081, allocations: 362.9 kB / 446.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01081, allocations: 0 / 446.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.01085, allocations: 8 kB / 446.3 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.01085, allocations: 4 kB / 446.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.01086, allocations: 0 / 446.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.01087, allocations: 3.938 kB / 446.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.654e-06/0.01087, allocations: 4 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.01114, allocations: 216.2 kB / 446.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.01115, allocations: 11.98 kB / 446.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.01118, allocations: 8 kB / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.01125, allocations: 0 / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.01128, allocations: 7.984 kB / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.0113, allocations: 4 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.01145, allocations: 167.2 kB / 446.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01145, allocations: 0 / 446.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.01172, allocations: 27.94 kB / 446.8 MB, free: 1.164 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.001763/0.01348, allocations: 496.2 kB / 447.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.01368, allocations: 67.89 kB / 447.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01368, allocations: 0 / 447.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.125e-05/0.01376, allocations: 31.92 kB / 447.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.01409, allocations: 31.14 kB / 447.4 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.01454, allocations: 246.1 kB / 447.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.01464, allocations: 92.8 kB / 447.7 MB, free: 388 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.038e-05/0.01469, allocations: 20.97 kB / 447.8 MB, free: 364 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.01473, allocations: 16.5 kB / 447.8 MB, free: 348 kB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01473, allocations: 0 / 447.8 MB, free: 348 kB / 366.1 MB Notification: Performance of Templates: time 0.1602/0.1749, allocations: 1.852 MB / 449.6 MB, free: 21.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.458534520119429]