Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.0009991/0.0009991, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001066/0.001066, allocations: 163.1 kB / 24.99 MB, free: 8.758 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.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2787/0.2787, allocations: 34.27 MB / 296 MB, free: 0.7812 MB / 266.7 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 378.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.126e-05, allocations: 2.312 kB / 378.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002612/0.002633, allocations: 1.785 MB / 379.9 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.003771, allocations: 1.005 MB / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.003845, allocations: 0 / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.00418, allocations: 111.7 kB / 381 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.004473, allocations: 131.3 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.00463, allocations: 87.53 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.004801, allocations: 127.7 kB / 381.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.132e-05/0.004892, allocations: 11.98 kB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.139e-05/0.004974, allocations: 75.73 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.656e-05/0.00507, allocations: 67.86 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.005086, allocations: 12 kB / 381.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.762e-05/0.005174, allocations: 59.91 kB / 381.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.005225, allocations: 31.84 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.00527, allocations: 27.88 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.005451, allocations: 135.5 kB / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005453, allocations: 0 / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005454, allocations: 0 / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005459, allocations: 0 / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004431/0.005902, allocations: 483.5 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.005936, allocations: 16.02 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.005982, allocations: 20.84 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.006148, allocations: 165.3 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.006164, allocations: 384 / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.006183, allocations: 4.375 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.006313, allocations: 78.86 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.006324, allocations: 3.938 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.006333, allocations: 0 / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.00634, allocations: 0 / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.791e-05/0.006388, allocations: 23.97 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.006688, allocations: 315.6 kB / 382.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.00686, allocations: 70.97 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.224e-05/0.006893, allocations: 19.69 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.006904, allocations: 4 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.951e-05/0.007003, allocations: 77.02 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.007004, allocations: 0 / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005138/0.007518, allocations: 253.8 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.00755, allocations: 55.39 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.0077, allocations: 274.8 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.007714, allocations: 33.7 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.007775, allocations: 166.8 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.007808, allocations: 43.62 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.007843, allocations: 31.38 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.007951, allocations: 0.5078 MB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-05/0.007983, allocations: 20 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.339e-05/0.008026, allocations: 46.09 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.515e-05/0.008101, allocations: 71.42 kB / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.008102, allocations: 0 / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001331/0.008236, allocations: 125.5 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.008248, allocations: 9.875 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.008252, allocations: 0 / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.008263, allocations: 3.938 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.778e-05/0.008321, allocations: 23.98 kB / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.008326, allocations: 0 / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.965e-05/0.008356, allocations: 8 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.008364, allocations: 4 kB / 384.7 MB, free: 12.09 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 (14): * Single equations (assignments): 14 * 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 6.92e-05/0.008433, allocations: 164.5 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.008454, allocations: 27.86 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.008629, allocations: 147.1 kB / 385 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.008631, allocations: 0 / 385 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.008635, allocations: 0 / 385 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.008639, allocations: 4 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.008975, allocations: 468.6 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.008977, allocations: 0 / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.009014, allocations: 23.92 kB / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.009016, allocations: 0 / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.009026, allocations: 4 kB / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.009027, allocations: 4.062 kB / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.009032, allocations: 7.938 kB / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.009212, allocations: 303.1 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.009227, allocations: 15.91 kB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.009248, allocations: 4 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.21e-05/0.00929, allocations: 7.984 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.009325, allocations: 15.92 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.00934, allocations: 8 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.296e-05/0.009433, allocations: 189.4 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009433, allocations: 0 / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000184/0.009617, allocations: 35.92 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001047/0.01066, allocations: 498.6 kB / 386.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.01079, allocations: 71.59 kB / 386.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.0108, allocations: 64 / 386.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.128e-05/0.01085, allocations: 55.59 kB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.01108, allocations: 33.56 kB / 386.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.01145, allocations: 301.9 kB / 387 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.584e-05/0.01151, allocations: 79.83 kB / 387.1 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003595/0.01187, allocations: 21.25 kB / 387.1 MB, free: 9.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.0119, allocations: 28.48 kB / 387.1 MB, free: 9.648 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0119, allocations: 0 / 387.1 MB, free: 9.648 MB / 362.7 MB Notification: Performance of Templates: time 0.003838/0.01574, allocations: 2.254 MB / 389.4 MB, free: 7.422 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.158408527961001]