Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.0009726/0.0009726, 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.0009943/0.0009943, allocations: 163.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.9442/0.9442, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.1379/0.1379, allocations: 34.27 MB / 296.9 MB, free: 13.91 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.158e-05, allocations: 6.25 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.001686/0.001698, allocations: 1.735 MB / 381.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000894/0.002592, allocations: 0.9935 MB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-05/0.002658, allocations: 8 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.002878, allocations: 43.7 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.003094, allocations: 99.47 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.00323, allocations: 87.59 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.003343, allocations: 103.6 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.725e-05/0.00341, allocations: 8 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.718e-05/0.003477, allocations: 55.77 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.709e-05/0.003534, allocations: 27.91 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.003547, allocations: 8 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.228e-05/0.003609, allocations: 47.91 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.741e-05/0.003647, allocations: 23.92 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.003672, allocations: 19.94 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.003794, allocations: 103.6 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003795, allocations: 3.984 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003796, allocations: 0 / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.217e-06/0.003799, allocations: 0 / 382.7 MB, free: 19.94 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.0002864/0.004085, allocations: 451.8 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.622e-05/0.004112, allocations: 12.02 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.004142, allocations: 24.84 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.004244, allocations: 156.4 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.004257, allocations: 384 / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.00427, allocations: 4.375 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.504e-05/0.004345, allocations: 58.94 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.004353, allocations: 3.938 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.004359, allocations: 3.984 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.004364, allocations: 4 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.154e-05/0.004385, allocations: 11.92 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.004555, allocations: 260.4 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.85e-05/0.004624, allocations: 51.17 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.00464, allocations: 15.67 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.004649, allocations: 4 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.244e-05/0.004712, allocations: 80.84 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.004713, allocations: 0 / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002473/0.00496, allocations: 129.5 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.632e-05/0.004976, allocations: 51.41 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.00505, allocations: 242.2 kB / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.005057, allocations: 29.7 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.943e-05/0.005086, allocations: 158.8 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.005105, allocations: 19.84 kB / 384.5 MB, free: 18.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.005129, allocations: 31.36 kB / 384.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.757e-05/0.005167, allocations: 0.5001 MB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.005179, allocations: 11.98 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.005197, allocations: 23.38 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.474e-05/0.005232, allocations: 55.34 kB / 385.1 MB, free: 17.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.005233, allocations: 0 / 385.1 MB, free: 17.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.07e-05/0.005304, allocations: 89.5 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.005312, allocations: 12 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.005316, allocations: 0 / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.005323, allocations: 0 / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.572e-05/0.005379, allocations: 16.36 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.005381, allocations: 4 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.005406, allocations: 0 / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.005412, allocations: 12 kB / 385.2 MB, free: 17.23 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.035e-05/0.005452, allocations: 160.6 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.005466, allocations: 19.88 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.005567, allocations: 103.1 kB / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.005568, allocations: 0 / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.00557, allocations: 0 / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.005573, allocations: 3.984 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.005745, allocations: 365.5 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.005746, allocations: 0 / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/0.005765, allocations: 11.94 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.005767, allocations: 4 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.005773, allocations: 3.984 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.005774, allocations: 0 / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005775, allocations: 32 / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.262e-05/0.005857, allocations: 263.7 kB / 386.1 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.005866, allocations: 15.89 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.005879, allocations: 0 / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.005917, allocations: 4 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.005937, allocations: 7.984 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.005945, allocations: 4 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.803e-05/0.005983, allocations: 172.2 kB / 386.3 MB, free: 16.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005983, allocations: 0 / 386.3 MB, free: 16.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001645/0.006148, allocations: 20 kB / 386.4 MB, free: 16.02 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.000836/0.006984, allocations: 446.1 kB / 386.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.562e-05/0.00706, allocations: 55.52 kB / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007061, allocations: 4 kB / 386.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.572e-05/0.007087, allocations: 31.61 kB / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.007293, allocations: 34.73 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002294/0.007523, allocations: 231.8 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.298e-05/0.007546, allocations: 67.33 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.053e-05/0.007576, allocations: 20.97 kB / 387.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.007627, allocations: 86.19 kB / 387.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007627, allocations: 0 / 387.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of Templates: time 0.002905/0.01053, allocations: 2.059 MB / 389.4 MB, free: 13.14 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.0802353187464178]