Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.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.001359/0.001359, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001492/0.001492, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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 1.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] 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.2471/0.2471, allocations: 46.93 MB / 361.6 MB, free: 4.246 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 63.91 kB / 0.4974 GB, free: 7.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4838, allocations: 66.04 MB / 0.5619 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.004275/0.4881, allocations: 1.877 MB / 0.5637 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.4903, allocations: 1.037 MB / 0.5647 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.4904, allocations: 0 / 0.5647 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.4908, allocations: 67.66 kB / 0.5648 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.4913, allocations: 119.4 kB / 0.5649 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.4918, allocations: 159.3 kB / 0.5651 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.4922, allocations: 203.3 kB / 0.5653 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.4923, allocations: 21.72 kB / 0.5653 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.4925, allocations: 79.75 kB / 0.5654 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.4928, allocations: 107.6 kB / 0.5655 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.4928, allocations: 16 kB / 0.5655 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.493, allocations: 51.98 kB / 0.5655 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.4931, allocations: 35.89 kB / 0.5656 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.4932, allocations: 71.59 kB / 0.5656 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.4936, allocations: 185.6 kB / 0.5658 GB, free: 368 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/0.4936, allocations: 0 / 0.5658 GB, free: 368 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4936, allocations: 0 / 0.5658 GB, free: 368 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.4936, allocations: 3.938 kB / 0.5658 GB, free: 364 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001372/0.495, allocations: 0.5083 MB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.495, allocations: 8.031 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.4951, allocations: 20.8 kB / 0.5663 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.4954, allocations: 166.2 kB / 0.5665 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.4954, allocations: 8.375 kB / 0.5665 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.4955, allocations: 12.06 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.496, allocations: 153.5 kB / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.4961, allocations: 3.984 kB / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.4961, allocations: 0 / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.4961, allocations: 0 / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007015/0.4968, allocations: 163.8 kB / 0.5668 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.4974, allocations: 343.6 kB / 0.5671 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007747/0.4981, allocations: 186.3 kB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000367/0.4985, allocations: 88.75 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.4985, allocations: 8 kB / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006133/0.4992, allocations: 167.2 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.4992, allocations: 0 / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00372/0.5029, allocations: 0.8205 MB / 0.5684 GB, free: 13.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/0.503, allocations: 63.34 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.5033, allocations: 239.9 kB / 0.5687 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.5033, allocations: 33.7 kB / 0.5687 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.5034, allocations: 124.1 kB / 0.5688 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.5035, allocations: 43.83 kB / 0.5689 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.5036, allocations: 37.7 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002518/0.5039, allocations: 330.8 kB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007689/0.5047, allocations: 167.8 kB / 0.5694 GB, free: 12.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/0.5053, allocations: 170.3 kB / 0.5695 GB, free: 12.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.5066, allocations: 367.8 kB / 0.5699 GB, free: 11.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5066, allocations: 4 kB / 0.5699 GB, free: 11.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001487/0.5081, allocations: 448.5 kB / 0.5703 GB, free: 11.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.257e-05/0.5082, allocations: 73.89 kB / 0.5704 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5082, allocations: 0 / 0.5704 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.5082, allocations: 0 / 0.5704 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.5086, allocations: 63.91 kB / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.5086, allocations: 3.938 kB / 0.5705 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.509, allocations: 67.91 kB / 0.5705 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.5091, allocations: 7.984 kB / 0.5705 GB, free: 11.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001924/0.5092, allocations: 141.7 kB / 0.5707 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.5093, allocations: 19.86 kB / 0.5707 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.5108, allocations: 406.6 kB / 0.5711 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5108, allocations: 4 kB / 0.5711 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.5108, allocations: 3.938 kB / 0.5711 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.5108, allocations: 0 / 0.5711 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.5126, allocations: 0.6769 MB / 0.5717 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5126, allocations: 3.938 kB / 0.5717 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.513, allocations: 63.91 kB / 0.5718 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.513, allocations: 3.938 kB / 0.5718 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.513, allocations: 8.562 kB / 0.5718 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.513, allocations: 3.984 kB / 0.5718 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.513, allocations: 0 / 0.5718 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.5144, allocations: 479 kB / 0.5723 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.5145, allocations: 19.84 kB / 0.5723 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.5145, allocations: 7.984 kB / 0.5723 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.5149, allocations: 67.84 kB / 0.5724 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.5151, allocations: 47.92 kB / 0.5724 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.5151, allocations: 4 kB / 0.5724 GB, free: 9.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.5154, allocations: 184.6 kB / 0.5726 GB, free: 9.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5154, allocations: 0 / 0.5726 GB, free: 9.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003354/0.5157, allocations: 40 kB / 0.5726 GB, free: 9.051 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001699/0.5174, allocations: 422.8 kB / 0.573 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.519, allocations: 458.4 kB / 0.5735 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.519, allocations: 0 / 0.5735 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008105/0.5198, allocations: 183.7 kB / 0.5736 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.5202, allocations: 34.27 kB / 0.5737 GB, free: 8.109 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.5214, allocations: 384.4 kB / 0.574 GB, free: 7.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/0.5219, allocations: 0.7201 MB / 0.5747 GB, free: 6.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.522, allocations: 27.44 kB / 0.5748 GB, free: 6.93 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.522, allocations: 0 / 0.5748 GB, free: 6.93 MB / 414.1 MB Notification: Performance of Templates: time 0.006459/0.5285, allocations: 3.202 MB / 0.5779 GB, free: 3.734 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.y,t_new.y,time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 8.375277610030025]