Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001012/0.001012, 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.0008914/0.0008914, allocations: 164.1 kB / 24.99 MB, free: 9.285 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.9971/0.9971, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2751/0.2751, allocations: 34.25 MB / 296 MB, free: 0.7852 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 378.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.431e-05, allocations: 2.312 kB / 378.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002384/0.002409, allocations: 1.84 MB / 379.9 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.004238, allocations: 1.796 MB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.004361, allocations: 3.938 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.004738, allocations: 55.62 kB / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005127/0.005251, allocations: 147.2 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.00553, allocations: 107.6 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.005783, allocations: 211.2 kB / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.529e-05/0.005838, allocations: 5.812 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.005972, allocations: 111.7 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.006111, allocations: 67.73 kB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.006134, allocations: 12 kB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.006313, allocations: 103.9 kB / 382.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.884e-05/0.006382, allocations: 39.83 kB / 382.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/0.006446, allocations: 43.84 kB / 382.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.006733, allocations: 195.2 kB / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.006735, allocations: 4 kB / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006736, allocations: 0 / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.00674, allocations: 0 / 382.8 MB, free: 14.15 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005771/0.007317, allocations: 0.5187 MB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.007357, allocations: 12.03 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.604e-05/0.007433, allocations: 24.8 kB / 383.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.007684, allocations: 184.3 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.007705, allocations: 4.375 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.007721, allocations: 8.359 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.007926, allocations: 165 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.007937, allocations: 3.938 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.00795, allocations: 3.984 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.007961, allocations: 4 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.329e-05/0.008014, allocations: 15.98 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.008203, allocations: 172.3 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.008358, allocations: 98.14 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/0.008405, allocations: 35.36 kB / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.008419, allocations: 4 kB / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.008564, allocations: 120.2 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.664e-06/0.008566, allocations: 0 / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002727/0.008839, allocations: 157.4 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.008895, allocations: 128.5 kB / 384.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.009102, allocations: 278.7 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.009122, allocations: 33.69 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.009184, allocations: 162.9 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.009218, allocations: 27.8 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.009258, allocations: 31.36 kB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.009398, allocations: 0.504 MB / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.25e-05/0.009431, allocations: 11.98 kB / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/0.009508, allocations: 125.5 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.878e-05/0.009597, allocations: 86.7 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.009599, allocations: 0 / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001437/0.009743, allocations: 118 kB / 385.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.009755, allocations: 4 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.009761, allocations: 3.938 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.009776, allocations: 4 kB / 385.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.009861, allocations: 27.92 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.009868, allocations: 8.047 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.509e-05/0.009913, allocations: 12.06 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.009921, allocations: 4 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 9.108e-05/0.01001, allocations: 164.6 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.01004, allocations: 27.86 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.01022, allocations: 142.7 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01022, allocations: 0 / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.01022, allocations: 0 / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.01023, allocations: 4 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.01036, allocations: 168.5 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01036, allocations: 0 / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-05/0.01039, allocations: 12 kB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01039, allocations: 4 kB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.01041, allocations: 7.984 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.01041, allocations: 7.875 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01041, allocations: 4 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.01057, allocations: 175.9 kB / 386.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.0106, allocations: 19.91 kB / 386.6 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.01062, allocations: 4 kB / 386.6 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.01066, allocations: 15.92 kB / 386.6 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.01071, allocations: 7.984 kB / 386.6 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.01072, allocations: 8 kB / 386.6 MB, free: 9.914 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.01083, allocations: 205.8 kB / 386.8 MB, free: 9.715 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01083, allocations: 0 / 386.8 MB, free: 9.715 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.01103, allocations: 51.86 kB / 386.9 MB, free: 9.664 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001052/0.01208, allocations: 0.5079 MB / 387.4 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.01225, allocations: 71.34 kB / 387.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01225, allocations: 0 / 387.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.114e-05/0.0123, allocations: 35.61 kB / 387.5 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.01254, allocations: 70.67 kB / 387.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.01296, allocations: 278.3 kB / 387.8 MB, free: 8.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.072e-05/0.013, allocations: 72.11 kB / 387.9 MB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.469e-05/0.01307, allocations: 41.95 kB / 388 MB, free: 8.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.01312, allocations: 28.48 kB / 388 MB, free: 8.691 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01312, allocations: 0 / 388 MB, free: 8.691 MB / 362.7 MB Notification: Performance of Templates: time 0.005136/0.01825, allocations: 3.427 MB / 391.4 MB, free: 5.305 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.311551561811939]