Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001474/0.001474, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001443/0.001443, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 18.57 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.069/1.069, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.28/0.28, allocations: 32.8 MB / 294.6 MB, free: 1.238 MB / 266.7 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 376.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.426e-05, allocations: 10.25 kB / 376.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002194/0.002218, allocations: 1.707 MB / 378.3 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.003707, allocations: 0.9819 MB / 379.2 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.094e-05/0.003778, allocations: 0 / 379.2 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.004055, allocations: 51.77 kB / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.004316, allocations: 111.4 kB / 379.4 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.004463, allocations: 75.66 kB / 379.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.004622, allocations: 95.64 kB / 379.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.004661, allocations: 12.2 kB / 379.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.1e-05/0.004752, allocations: 55.83 kB / 379.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.747e-05/0.004819, allocations: 27.86 kB / 379.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.004835, allocations: 4 kB / 379.7 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.91e-05/0.004904, allocations: 31.98 kB / 379.7 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.00495, allocations: 27.91 kB / 379.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.004986, allocations: 23.88 kB / 379.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.005143, allocations: 95.66 kB / 379.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.005147, allocations: 4 kB / 379.9 MB, free: 1 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005148, allocations: 0 / 379.9 MB, free: 1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.005153, allocations: 3.984 kB / 379.9 MB, free: 0.9961 MB / 346.7 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.0004539/0.005607, allocations: 475.6 kB / 380.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.005649, allocations: 12.03 kB / 380.3 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.00569, allocations: 16.84 kB / 380.3 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.005842, allocations: 169.2 kB / 380.5 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.005857, allocations: 384 / 380.5 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.005864, allocations: 384 / 380.5 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.005972, allocations: 54.94 kB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.00598, allocations: 3.938 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.005988, allocations: 4 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.005994, allocations: 4 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.006018, allocations: 7.984 kB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.006141, allocations: 121.3 kB / 380.7 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.593e-05/0.006237, allocations: 47.05 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.006258, allocations: 15.67 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.006271, allocations: 0 / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.161e-05/0.006363, allocations: 73.03 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.006363, allocations: 0 / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001722/0.006536, allocations: 89.45 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.006564, allocations: 55.41 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.006712, allocations: 266.6 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.006726, allocations: 29.7 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.006794, allocations: 166.8 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.006824, allocations: 15.89 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.006856, allocations: 27.36 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.006991, allocations: 0.5001 MB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.165e-05/0.007013, allocations: 4 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.007042, allocations: 31.36 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.762e-05/0.00709, allocations: 39.3 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.007092, allocations: 3.938 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.468e-05/0.007177, allocations: 69.59 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.007191, allocations: 8 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.007196, allocations: 0 / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.007212, allocations: 7.875 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.007281, allocations: 11.98 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.007285, allocations: 4 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.289e-05/0.007318, allocations: 0 / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.007324, allocations: 4 kB / 382.2 MB, free: 14.48 MB / 362.7 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 9.473e-05/0.007419, allocations: 163.8 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.007436, allocations: 15.94 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.007555, allocations: 90.75 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.00756, allocations: 3.938 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.007563, allocations: 384 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.007566, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.923e-05/0.007665, allocations: 133.1 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.007669, allocations: 7.984 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.007691, allocations: 4 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.007693, allocations: 0 / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.007701, allocations: 3.984 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007702, allocations: 0 / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007703, allocations: 8 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.931e-05/0.007802, allocations: 116.3 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.007818, allocations: 15.91 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.007835, allocations: 4 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.538e-05/0.00786, allocations: 0 / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.007884, allocations: 11.92 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.007895, allocations: 3.938 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.014e-05/0.007976, allocations: 184.5 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007976, allocations: 0 / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000146/0.008122, allocations: 20 kB / 382.9 MB, free: 13.64 MB / 362.7 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.0008468/0.008968, allocations: 383.6 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.009075, allocations: 35.66 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.009078, allocations: 0 / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.358e-05/0.009111, allocations: 27.69 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.009331, allocations: 38.73 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.009691, allocations: 226.6 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.984e-05/0.009741, allocations: 79.27 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.528e-05/0.009776, allocations: 8.734 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.009848, allocations: 86.19 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.009848, allocations: 0 / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of Templates: time 0.004293/0.01414, allocations: 1.823 MB / 385.6 MB, free: 11.06 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.12131267786026]