Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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: 80.31 kB / 22.21 MB, free: 2.285 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.001125/0.001125, allocations: 172.4 kB / 25.61 MB, free: 8.91 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.9926/0.9926, allocations: 177.1 MB / 206 MB, free: 4.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1603/0.1603, allocations: 32.81 MB / 295.4 MB, free: 15.4 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.344e-05, allocations: 2.312 kB / 377.4 MB, free: 25.54 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003396/0.00343, allocations: 1.754 MB / 379.1 MB, free: 23.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.005087, allocations: 1.005 MB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.005189, allocations: 0 / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.005521, allocations: 51.75 kB / 380.2 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.00586, allocations: 107.5 kB / 380.3 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.006097, allocations: 71.67 kB / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.006275, allocations: 115.5 kB / 380.4 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.006371, allocations: 4 kB / 380.5 MB, free: 22.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.006479, allocations: 59.77 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.998e-05/0.006559, allocations: 27.91 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.006577, allocations: 4 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.789e-05/0.006675, allocations: 43.92 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.006734, allocations: 31.92 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.006773, allocations: 27.84 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.006968, allocations: 107.6 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006971, allocations: 4 kB / 380.8 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006973, allocations: 0 / 380.8 MB, free: 22.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.006977, allocations: 0 / 380.8 MB, free: 22.12 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.000453/0.00743, allocations: 483.5 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.007476, allocations: 11.98 kB / 381.2 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.007525, allocations: 16.84 kB / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.007691, allocations: 161.3 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.007709, allocations: 4.375 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.007725, allocations: 4.375 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.00784, allocations: 62.94 kB / 381.5 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.007851, allocations: 3.938 kB / 381.5 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.00786, allocations: 0 / 381.5 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.007866, allocations: 0 / 381.5 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.411e-05/0.0079, allocations: 15.92 kB / 381.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.008163, allocations: 264.4 kB / 381.8 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.008283, allocations: 59.12 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.681e-05/0.00831, allocations: 15.69 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.008328, allocations: 4 kB / 381.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.008432, allocations: 72.92 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.008434, allocations: 0 / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004009/0.008835, allocations: 149.4 kB / 382.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.008861, allocations: 51.41 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.009022, allocations: 270.6 kB / 382.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.009034, allocations: 29.7 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.009092, allocations: 162.8 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.009123, allocations: 23.78 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.009164, allocations: 35.36 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.715e-05/0.009241, allocations: 0.504 MB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-05/0.009268, allocations: 8.359 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.658e-05/0.009304, allocations: 35.34 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.889e-05/0.009363, allocations: 47.3 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.009365, allocations: 4 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001325/0.009498, allocations: 89.48 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.009512, allocations: 11.94 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.009518, allocations: 0 / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.00953, allocations: 4.031 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.009612, allocations: 15.98 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.009616, allocations: 4 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.009659, allocations: 4 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.009667, allocations: 4.156 kB / 383.3 MB, free: 19.31 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 6.663e-05/0.009734, allocations: 164.6 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.009761, allocations: 19.84 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.009931, allocations: 103 kB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.009934, allocations: 0 / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.009936, allocations: 0 / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.00994, allocations: 8 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.01024, allocations: 369.6 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01024, allocations: 0 / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.01027, allocations: 12 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01028, allocations: 3.938 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.01028, allocations: 0 / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01029, allocations: 4 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01029, allocations: 0 / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.0104, allocations: 259.7 kB / 384.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.01041, allocations: 11.91 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.01043, allocations: 12.02 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.469e-05/0.01047, allocations: 7.938 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.0105, allocations: 3.984 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.01051, allocations: 4 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.483e-05/0.01056, allocations: 188.5 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01056, allocations: 0 / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.01074, allocations: 23.94 kB / 384.5 MB, free: 18.06 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.0008924/0.01163, allocations: 435.2 kB / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.869e-05/0.01173, allocations: 55.55 kB / 385 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01173, allocations: 0 / 385 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.01176, allocations: 31.61 kB / 385 MB, free: 17.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.012, allocations: 56.8 kB / 385.1 MB, free: 17.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.01232, allocations: 256.4 kB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.194e-05/0.01236, allocations: 83.19 kB / 385.4 MB, free: 17.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.458e-05/0.01239, allocations: 13.11 kB / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.01244, allocations: 86.19 kB / 385.5 MB, free: 17.19 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01245, allocations: 0 / 385.5 MB, free: 17.19 MB / 314.7 MB Notification: Performance of Templates: time 0.003479/0.01592, allocations: 2.078 MB / 387.6 MB, free: 15.14 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.254146210383624]