Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.001305/0.001305, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001621/0.001621, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9705/0.9705, allocations: 177.1 MB / 206 MB, free: 4.484 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.1351/0.1351, allocations: 34.27 MB / 296.9 MB, free: 13.9 MB / 282.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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.898e-06/1.129e-05, allocations: 2.312 kB / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.001778/0.001789, allocations: 1.747 MB / 381.1 MB, free: 21.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.003089, allocations: 1.722 MB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.003154, allocations: 0 / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.003374, allocations: 39.7 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.003606, allocations: 103.5 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.003732, allocations: 87.47 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.003846, allocations: 107.7 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.028e-05/0.003916, allocations: 7.984 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.789e-05/0.003984, allocations: 63.77 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.004089, allocations: 35.89 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.004103, allocations: 4 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.004211, allocations: 95.88 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.731e-05/0.004249, allocations: 23.92 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.004276, allocations: 27.92 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.004444, allocations: 159.4 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.004446, allocations: 3.984 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004446, allocations: 0 / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.00445, allocations: 0 / 383.6 MB, free: 19.06 MB / 314.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.0003433/0.004793, allocations: 455.7 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.004821, allocations: 8.031 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.004855, allocations: 12.89 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.004973, allocations: 156.9 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.004987, allocations: 384 / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.005008, allocations: 8.375 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.005113, allocations: 111.4 kB / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.005123, allocations: 0 / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.00513, allocations: 0 / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.005134, allocations: 0 / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.005158, allocations: 8 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.005346, allocations: 268.3 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.268e-05/0.005418, allocations: 51.11 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.005437, allocations: 19.67 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.005447, allocations: 4 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.871e-05/0.005515, allocations: 65.05 kB / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.31e-07/0.005516, allocations: 0 / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002627/0.005779, allocations: 137.4 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.005803, allocations: 81.05 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.986e-05/0.005882, allocations: 209.1 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.005891, allocations: 33.7 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.005922, allocations: 146.8 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.005941, allocations: 15.86 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.005974, allocations: 39.34 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.213e-05/0.006016, allocations: 0.4922 MB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.006029, allocations: 8 kB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.006057, allocations: 72.73 kB / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.006093, allocations: 51.36 kB / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.006094, allocations: 4 kB / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.246e-05/0.006166, allocations: 81.62 kB / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.006176, allocations: 7.938 kB / 386.1 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.006179, allocations: 0 / 386.1 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.006188, allocations: 8.062 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.013e-05/0.006238, allocations: 19.92 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.00624, allocations: 0 / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.006268, allocations: 11.89 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.006273, allocations: 0 / 386.1 MB, free: 16.27 MB / 314.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 4.473e-05/0.006318, allocations: 167.8 kB / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.006333, allocations: 11.95 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.601e-05/0.006429, allocations: 98.38 kB / 386.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.006431, allocations: 0 / 386.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.006432, allocations: 0 / 386.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006436, allocations: 4 kB / 386.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.006621, allocations: 361.6 kB / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.006622, allocations: 4 kB / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.006644, allocations: 11.98 kB / 386.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.006645, allocations: 0 / 386.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.00665, allocations: 0 / 386.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.00665, allocations: 4 kB / 386.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.006652, allocations: 7.922 kB / 386.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.276e-05/0.006735, allocations: 251.7 kB / 387 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-06/0.006744, allocations: 7.953 kB / 387 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.006759, allocations: 15.97 kB / 387.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.006799, allocations: 3.984 kB / 387.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.006819, allocations: 4 kB / 387.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.006828, allocations: 11.98 kB / 387.1 MB, free: 15.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.454e-05/0.006863, allocations: 154.4 kB / 387.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006863, allocations: 0 / 387.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001875/0.00705, allocations: 51.8 kB / 387.3 MB, free: 15.05 MB / 314.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.0009858/0.008036, allocations: 0.5385 MB / 387.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.008143, allocations: 43.61 kB / 387.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008144, allocations: 8.062 kB / 387.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.349e-05/0.008178, allocations: 31.59 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.008408, allocations: 38.09 kB / 387.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.008702, allocations: 199.7 kB / 388.1 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.19e-05/0.008734, allocations: 63.34 kB / 388.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.103e-05/0.008775, allocations: 24.95 kB / 388.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.008854, allocations: 102.2 kB / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008854, allocations: 0 / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of Templates: time 0.004283/0.01314, allocations: 2.801 MB / 391.1 MB, free: 11.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.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.1553858472034335]