Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001444/0.001444, allocations: 82.58 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.001633/0.001633, allocations: 163.2 kB / 23.95 MB, free: 4.168 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.457/1.457, 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.2065/0.2065, 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 440.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.332e-05, allocations: 10.22 kB / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002783/0.002806, allocations: 1.708 MB / 441.9 MB, free: 6.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.004473, allocations: 0.9812 MB / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.004542, allocations: 3.938 kB / 442.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.004815, allocations: 39.83 kB / 442.9 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.005132, allocations: 107.4 kB / 443 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.005318, allocations: 83.59 kB / 443.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.005496, allocations: 115.6 kB / 443.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.555e-05/0.005571, allocations: 4 kB / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.96e-05/0.005671, allocations: 51.84 kB / 443.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.005746, allocations: 27.89 kB / 443.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.005768, allocations: 4 kB / 443.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/0.005868, allocations: 39.98 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.005933, allocations: 31.86 kB / 443.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.00598, allocations: 31.8 kB / 443.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.006185, allocations: 131.5 kB / 443.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.006187, allocations: 0 / 443.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.006188, allocations: 0 / 443.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.006194, allocations: 3.984 kB / 443.5 MB, free: 4.703 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.000526/0.00672, allocations: 369.3 kB / 443.9 MB, free: 4.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.006753, allocations: 12.03 kB / 443.9 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.006798, allocations: 16.84 kB / 443.9 MB, free: 4.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.007016, allocations: 162.5 kB / 444.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.007028, allocations: 384 / 444.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.007048, allocations: 4.375 kB / 444.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.00719, allocations: 66.16 kB / 444.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.007203, allocations: 3.938 kB / 444.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.007212, allocations: 0 / 444.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.007217, allocations: 4 kB / 444.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.325e-05/0.007291, allocations: 19.98 kB / 444.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.007625, allocations: 236.6 kB / 444.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.007795, allocations: 58.61 kB / 444.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.175e-05/0.007857, allocations: 32.72 kB / 444.5 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.00787, allocations: 0 / 444.5 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.008017, allocations: 71.39 kB / 444.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.008019, allocations: 0 / 444.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005563/0.008575, allocations: 205.2 kB / 444.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.008618, allocations: 55.41 kB / 444.8 MB, free: 3.277 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.00889, allocations: 272.1 kB / 445.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.008911, allocations: 29.7 kB / 445.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.008993, allocations: 116.1 kB / 445.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.009023, allocations: 23.8 kB / 445.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.009064, allocations: 21.7 kB / 445.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.009207, allocations: 330.8 kB / 445.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-05/0.009271, allocations: 27.98 kB / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.009341, allocations: 37.64 kB / 445.7 MB, free: 2.398 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.009467, allocations: 65.64 kB / 445.7 MB, free: 2.328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.009468, allocations: 0 / 445.7 MB, free: 2.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002167/0.009684, allocations: 105.5 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.009702, allocations: 11.98 kB / 445.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.009706, allocations: 0 / 445.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.009719, allocations: 0 / 445.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.009803, allocations: 16.03 kB / 445.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.009809, allocations: 7.938 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.009857, allocations: 8.359 kB / 445.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.009866, allocations: 4 kB / 445.9 MB, free: 2.172 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.0001189/0.009985, allocations: 146.3 kB / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.01001, allocations: 19.86 kB / 446 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.01028, allocations: 119.1 kB / 446.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.01028, allocations: 4 kB / 446.2 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01029, allocations: 0 / 446.2 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01029, allocations: 7.938 kB / 446.2 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.01074, allocations: 355.3 kB / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01074, allocations: 0 / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.01078, allocations: 11.94 kB / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.01078, allocations: 7.938 kB / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.01079, allocations: 4 kB / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01079, allocations: 0 / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01079, allocations: 0 / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.01106, allocations: 224.2 kB / 446.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.01108, allocations: 11.91 kB / 446.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.0111, allocations: 4.031 kB / 446.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.01118, allocations: 8 kB / 446.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.01121, allocations: 7.984 kB / 446.8 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.01122, allocations: 4 kB / 446.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.01141, allocations: 216.3 kB / 447 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01141, allocations: 0 / 447 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.01167, allocations: 23.94 kB / 447 MB, free: 0.9453 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.001754/0.01342, allocations: 496.4 kB / 447.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.01361, allocations: 59.91 kB / 447.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01361, allocations: 0 / 447.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.177e-05/0.01369, allocations: 31.92 kB / 447.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.01404, allocations: 38.22 kB / 447.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005131/0.01455, allocations: 295 kB / 447.9 MB, free: 236 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.01467, allocations: 105.1 kB / 448 MB, free: 108 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.58e-05/0.01471, allocations: 16.97 kB / 448 MB, free: 92 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.01475, allocations: 16.5 kB / 448.1 MB, free: 76 kB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01475, allocations: 0 / 448.1 MB, free: 76 kB / 366.1 MB Notification: Performance of Templates: time 0.1716/0.1864, allocations: 1.878 MB / 449.9 MB, free: 21.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.576744362711906]