Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001044/0.001044, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001562/0.002606, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001037/0.001037, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001364/0.002401, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9419/0.9419, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08957/1.031, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.2605/0.2605, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03168/0.2922, allocations: 13.11 MB / 291.5 MB, free: 7.328 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.Test80,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.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,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.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 292.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.665e-05, allocations: 3.297 kB / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002744/0.002771, allocations: 1.899 MB / 294.8 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.004878, allocations: 1.84 MB / 296.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.854e-05/0.004976, allocations: 4 kB / 296.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.005212, allocations: 55.56 kB / 296.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003977/0.00561, allocations: 143.1 kB / 296.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.005917, allocations: 111.5 kB / 297 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.00622, allocations: 211.3 kB / 297.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.006268, allocations: 6.469 kB / 297.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.006461, allocations: 160.2 kB / 297.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.006598, allocations: 67.73 kB / 297.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.006618, allocations: 8 kB / 297.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.006838, allocations: 115.8 kB / 297.5 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.006897, allocations: 31.86 kB / 297.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.006938, allocations: 27.94 kB / 297.6 MB, free: 1.438 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.007206, allocations: 187.3 kB / 297.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.007219, allocations: 0 / 297.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.00722, allocations: 0 / 297.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.007232, allocations: 4 kB / 297.8 MB, free: 1.25 MB / 282.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.0004839/0.007716, allocations: 432.4 kB / 298.2 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.007749, allocations: 8.625 kB / 298.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.007792, allocations: 12.92 kB / 298.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.008005, allocations: 181.4 kB / 298.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.008021, allocations: 384 / 298.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.008037, allocations: 8.359 kB / 298.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.008228, allocations: 160.5 kB / 298.6 MB, free: 392 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.008235, allocations: 7.875 kB / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.008244, allocations: 8 kB / 298.6 MB, free: 376 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.008249, allocations: 4 kB / 298.6 MB, free: 372 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.792e-05/0.008287, allocations: 21.64 kB / 298.6 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.998e-05/0.008387, allocations: 78.38 kB / 298.7 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.008501, allocations: 82.8 kB / 298.8 MB, free: 144 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.008527, allocations: 17.72 kB / 298.8 MB, free: 120 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.008538, allocations: 4 kB / 298.8 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.008682, allocations: 107.9 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.008683, allocations: 0 / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001532/0.008837, allocations: 95.16 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.008869, allocations: 81.05 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.009042, allocations: 219.1 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.009066, allocations: 29.7 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.009107, allocations: 100.6 kB / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.009147, allocations: 31.77 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.009197, allocations: 33.69 kB / 299.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.009277, allocations: 330.8 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.009302, allocations: 14.81 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-05/0.009361, allocations: 113.2 kB / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.435e-05/0.009425, allocations: 63.83 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.009428, allocations: 0 / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001393/0.009567, allocations: 91.19 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.009581, allocations: 8 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.009585, allocations: 4.094 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.009596, allocations: 0 / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.899e-05/0.009685, allocations: 27.92 kB / 300.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.00969, allocations: 4 kB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/0.009745, allocations: 15.89 kB / 300.1 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.009754, allocations: 4 kB / 300.1 MB, free: 14.62 MB / 298.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 8.75e-05/0.009842, allocations: 129.1 kB / 300.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.009862, allocations: 15.98 kB / 300.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.01002, allocations: 98.91 kB / 300.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01002, allocations: 0 / 300.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.01002, allocations: 19.98 kB / 300.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.01003, allocations: 0 / 300.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.01016, allocations: 105.8 kB / 300.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01016, allocations: 0 / 300.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.01021, allocations: 8 kB / 300.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.01023, allocations: 27.84 kB / 300.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01023, allocations: 0 / 300.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.01024, allocations: 4 kB / 300.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01024, allocations: 0 / 300.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.01025, allocations: 3.938 kB / 300.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.01036, allocations: 127.3 kB / 300.6 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.01038, allocations: 4 kB / 300.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.01042, allocations: 7.984 kB / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.01045, allocations: 7.984 kB / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.01046, allocations: 7.938 kB / 300.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.751e-05/0.01053, allocations: 78.23 kB / 300.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01053, allocations: 0 / 300.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001726/0.0107, allocations: 59.86 kB / 300.8 MB, free: 13.87 MB / 298.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.001474/0.01218, allocations: 0.7098 MB / 301.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.0123, allocations: 60.72 kB / 301.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/0.01231, allocations: 4 kB / 301.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.749e-05/0.01236, allocations: 32.83 kB / 301.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.01266, allocations: 360.4 kB / 302 MB, free: 13.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.01321, allocations: 272.1 kB / 302.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.01325, allocations: 76.17 kB / 302.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.391e-05/0.01333, allocations: 34.2 kB / 302.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.01344, allocations: 95.33 kB / 302.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01344, allocations: 0 / 302.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of Templates: time 0.005598/0.01904, allocations: 3.818 MB / 306.2 MB, free: 8.746 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.92265379242599]