Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00208/0.00208, allocations: 78.17 kB / 20.52 MB, free: 1.27 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.002665/0.002665, allocations: 167 kB / 23.76 MB, free: 4.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 158.6 MB / 185.5 MB, free: 6.227 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2148/0.2148, allocations: 32.38 MB / 270.1 MB, free: 2.711 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 74.55 kB / 407.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3689, allocations: 61.01 MB / 468.8 MB, free: 8.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003186/0.3721, allocations: 1.699 MB / 470.5 MB, free: 7.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3733, allocations: 0.7705 MB / 471.3 MB, free: 6.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.122e-05/0.3734, allocations: 0 / 471.3 MB, free: 6.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.3737, allocations: 52.75 kB / 471.4 MB, free: 6.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.374, allocations: 64.69 kB / 471.4 MB, free: 6.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.3742, allocations: 80.69 kB / 471.5 MB, free: 6.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.3744, allocations: 101.2 kB / 471.6 MB, free: 6.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3745, allocations: 12.06 kB / 471.6 MB, free: 6.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.392e-05/0.3746, allocations: 41.2 kB / 471.7 MB, free: 6.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.8e-05/0.3747, allocations: 33.42 kB / 471.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.3747, allocations: 3.625 kB / 471.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.3749, allocations: 44.11 kB / 471.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.416e-05/0.3749, allocations: 28.09 kB / 471.8 MB, free: 6.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.327e-05/0.375, allocations: 29.17 kB / 471.8 MB, free: 6.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.3752, allocations: 134.9 kB / 471.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3752, allocations: 0 / 471.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3752, allocations: 0 / 471.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.3752, allocations: 0 / 471.9 MB, free: 6.664 MB / 382.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.0005622/0.3758, allocations: 368.2 kB / 472.3 MB, free: 6.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3759, allocations: 9.438 kB / 472.3 MB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.3759, allocations: 15.19 kB / 472.3 MB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.3762, allocations: 171.3 kB / 472.5 MB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.3762, allocations: 2.5 kB / 472.5 MB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.3762, allocations: 7.109 kB / 472.5 MB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.3764, allocations: 59.78 kB / 472.5 MB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3764, allocations: 0 / 472.5 MB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3764, allocations: 0 / 472.5 MB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3764, allocations: 1.688 kB / 472.5 MB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.366e-05/0.3765, allocations: 24.67 kB / 472.6 MB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.3768, allocations: 240.1 kB / 472.8 MB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.377, allocations: 62.44 kB / 472.9 MB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.377, allocations: 19.45 kB / 472.9 MB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.377, allocations: 1.062 kB / 472.9 MB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.3772, allocations: 74.88 kB / 473 MB, free: 5.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3772, allocations: 0 / 473 MB, free: 5.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000621/0.3778, allocations: 187.4 kB / 473.1 MB, free: 5.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.3778, allocations: 54.17 kB / 473.2 MB, free: 5.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.3781, allocations: 266.2 kB / 473.5 MB, free: 5.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.3781, allocations: 26.73 kB / 473.5 MB, free: 5.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.3782, allocations: 115.8 kB / 473.6 MB, free: 5.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.3782, allocations: 33.45 kB / 473.6 MB, free: 5.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.3783, allocations: 22.84 kB / 473.6 MB, free: 5.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.278e-05/0.3783, allocations: 333.1 kB / 474 MB, free: 4.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.965e-05/0.3784, allocations: 18.33 kB / 474 MB, free: 4.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.3784, allocations: 44.42 kB / 474 MB, free: 4.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.3786, allocations: 60.69 kB / 474.1 MB, free: 4.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3786, allocations: 0 / 474.1 MB, free: 4.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002059/0.3788, allocations: 112.5 kB / 474.2 MB, free: 4.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3788, allocations: 9.969 kB / 474.2 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3788, allocations: 1.594 kB / 474.2 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.3788, allocations: 0 / 474.2 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3789, allocations: 15.55 kB / 474.2 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3789, allocations: 1.75 kB / 474.2 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.379, allocations: 3 kB / 474.2 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.379, allocations: 7.375 kB / 474.2 MB, free: 4.801 MB / 382.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.0001022/0.3791, allocations: 134.1 kB / 474.4 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.3791, allocations: 14.41 kB / 474.4 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.3794, allocations: 132 kB / 474.5 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.3794, allocations: 1.438 kB / 474.5 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3794, allocations: 0.6094 kB / 474.5 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3794, allocations: 0.5625 kB / 474.5 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.3798, allocations: 353.6 kB / 474.9 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3798, allocations: 1.406 kB / 474.9 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.357e-05/0.3799, allocations: 17.84 kB / 474.9 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3799, allocations: 0 / 474.9 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3799, allocations: 3.5 kB / 474.9 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3799, allocations: 5.062 kB / 474.9 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3799, allocations: 5.375 kB / 474.9 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.3801, allocations: 222 kB / 475.1 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.3801, allocations: 13.91 kB / 475.1 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.3801, allocations: 6.172 kB / 475.1 MB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.3802, allocations: 3.203 kB / 475.1 MB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.3803, allocations: 15.12 kB / 475.2 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.3803, allocations: 7.594 kB / 475.2 MB, free: 4.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.3805, allocations: 198.9 kB / 475.4 MB, free: 3.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3805, allocations: 0 / 475.4 MB, free: 3.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.3807, allocations: 31.48 kB / 475.4 MB, free: 3.98 MB / 382.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.001886/0.3826, allocations: 495.9 kB / 475.9 MB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.3828, allocations: 57.89 kB / 475.9 MB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3828, allocations: 4.062 kB / 475.9 MB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.876e-05/0.3829, allocations: 34.19 kB / 476 MB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.3833, allocations: 27.2 kB / 476 MB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000548/0.3838, allocations: 288.6 kB / 476.3 MB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.764e-05/0.3839, allocations: 104.1 kB / 476.4 MB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.146e-05/0.384, allocations: 17.16 kB / 476.4 MB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.384, allocations: 17.05 kB / 476.4 MB, free: 3.273 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.384, allocations: 0 / 476.4 MB, free: 3.273 MB / 382.1 MB Notification: Performance of Templates: time 0.005895/0.3899, allocations: 1.845 MB / 478.2 MB, free: 2.984 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.169499453040771]