Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.0008538/0.0008538, 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.0008847/0.0008847, 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 0.9686/0.9686, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2487/0.2487, allocations: 32.81 MB / 294.6 MB, free: 1.254 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 376.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.029e-05, allocations: 6.25 kB / 376.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.00241/0.00243, allocations: 1.762 MB / 378.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.003693, allocations: 0.9968 MB / 379.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.583e-05/0.003779, allocations: 4 kB / 379.3 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.004062, allocations: 39.72 kB / 379.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.004365, allocations: 99.47 kB / 379.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.00458, allocations: 79.59 kB / 379.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.004746, allocations: 111.7 kB / 379.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.265e-05/0.004829, allocations: 7.938 kB / 379.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.751e-05/0.004916, allocations: 51.84 kB / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.993e-05/0.004986, allocations: 27.89 kB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.005, allocations: 8 kB / 379.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.318e-05/0.005083, allocations: 43.92 kB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.005126, allocations: 23.92 kB / 379.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.005161, allocations: 23.86 kB / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.00532, allocations: 103.6 kB / 379.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.005322, allocations: 0 / 379.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.005323, allocations: 0 / 379.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.005327, allocations: 0 / 379.9 MB, free: 0.918 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004143/0.005742, allocations: 443.8 kB / 380.4 MB, free: 460 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.005778, allocations: 8.031 kB / 380.4 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.005814, allocations: 24.84 kB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.005954, allocations: 153.1 kB / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.00597, allocations: 384 / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.005988, allocations: 12.3 kB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.006091, allocations: 62.88 kB / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.006102, allocations: 3.938 kB / 380.6 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.006109, allocations: 4 kB / 380.6 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.006116, allocations: 4 kB / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.355e-05/0.006139, allocations: 7.984 kB / 380.6 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.006389, allocations: 264.4 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.112e-05/0.006471, allocations: 51.11 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.006492, allocations: 15.69 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.006511, allocations: 0 / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.811e-05/0.006599, allocations: 68.97 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.0066, allocations: 0 / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002968/0.006897, allocations: 133.5 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.006921, allocations: 55.41 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.007035, allocations: 234.3 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.007048, allocations: 25.7 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.007101, allocations: 154.9 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.007128, allocations: 27.77 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.00716, allocations: 23.38 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.007277, allocations: 0.5001 MB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.007295, allocations: 15.92 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.007323, allocations: 31.36 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.141e-05/0.007364, allocations: 39.36 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007365, allocations: 0 / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.887e-05/0.007464, allocations: 101.5 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.007475, allocations: 8 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.007479, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.007495, allocations: 4 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.484e-05/0.00756, allocations: 12 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.007563, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.946e-05/0.007593, allocations: 7.984 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.007597, allocations: 0 / 382.4 MB, free: 14.25 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 (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 7.859e-05/0.007676, allocations: 164.5 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.007694, allocations: 19.84 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.007829, allocations: 111.2 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007831, allocations: 0 / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.007832, allocations: 3.938 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.007836, allocations: 384 / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.008104, allocations: 361.6 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.008107, allocations: 4 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.008136, allocations: 11.98 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.008138, allocations: 0 / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.008144, allocations: 4 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.008145, allocations: 0 / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008146, allocations: 32 / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.008287, allocations: 259.4 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.0083, allocations: 11.94 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.008315, allocations: 4 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.272e-05/0.008358, allocations: 7.984 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.008388, allocations: 7.984 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.008399, allocations: 0 / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.619e-05/0.008465, allocations: 164.1 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008465, allocations: 0 / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000171/0.008636, allocations: 23.94 kB / 383.5 MB, free: 13.04 MB / 362.7 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.0008737/0.00951, allocations: 444.8 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.307e-05/0.009603, allocations: 43.61 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.009604, allocations: 0 / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.361e-05/0.009638, allocations: 31.66 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.009859, allocations: 43.61 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.01014, allocations: 213.9 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.827e-05/0.01017, allocations: 67.47 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.688e-05/0.01021, allocations: 25.27 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.68e-05/0.01028, allocations: 90.19 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01028, allocations: 0 / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of Templates: time 0.003297/0.01358, allocations: 2.046 MB / 386.5 MB, free: 10.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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.02326536225155]