Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001573/0.001573, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001887/0.001887, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2548/0.2548, allocations: 46.94 MB / 361.5 MB, free: 4.156 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 76.2 kB / 0.4974 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3808, allocations: 66.09 MB / 0.562 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003409/0.3842, allocations: 1.866 MB / 0.5638 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.3859, allocations: 1.045 MB / 0.5648 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.386, allocations: 0 / 0.5648 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.3862, allocations: 63.72 kB / 0.5649 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.3866, allocations: 119.4 kB / 0.565 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.387, allocations: 166.8 kB / 0.5652 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.3873, allocations: 199.3 kB / 0.5653 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3874, allocations: 21.72 kB / 0.5654 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.3875, allocations: 83.75 kB / 0.5654 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.3877, allocations: 107.6 kB / 0.5656 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.3877, allocations: 12 kB / 0.5656 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.482e-05/0.3878, allocations: 48 kB / 0.5656 GB, free: 472 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.811e-05/0.3879, allocations: 39.88 kB / 0.5656 GB, free: 432 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.839e-05/0.388, allocations: 75.53 kB / 0.5657 GB, free: 356 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.3883, allocations: 185.6 kB / 0.5659 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3883, allocations: 0 / 0.5659 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3883, allocations: 0 / 0.5659 GB, free: 176 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.3883, allocations: 4 kB / 0.5659 GB, free: 172 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.001093/0.3894, allocations: 0.5083 MB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3894, allocations: 12.03 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.3895, allocations: 20.8 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.3898, allocations: 166.2 kB / 0.5666 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3898, allocations: 4.375 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.3898, allocations: 8.375 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.3903, allocations: 149.8 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3903, allocations: 0 / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.3903, allocations: 3.984 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3903, allocations: 4 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006421/0.391, allocations: 155.8 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.3915, allocations: 343.6 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000738/0.3922, allocations: 198.3 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.3926, allocations: 88.75 kB / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.3926, allocations: 4 kB / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005626/0.3932, allocations: 163.2 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.3932, allocations: 0 / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003447/0.3966, allocations: 0.8205 MB / 0.5685 GB, free: 13.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.3966, allocations: 55.41 kB / 0.5685 GB, free: 13.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.3969, allocations: 244.2 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.397, allocations: 34.27 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3971, allocations: 124.1 kB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.656e-05/0.3971, allocations: 47.83 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.789e-05/0.3972, allocations: 33.7 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.3974, allocations: 334.8 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006539/0.3981, allocations: 167.8 kB / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.3987, allocations: 174.1 kB / 0.5696 GB, free: 12.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.3999, allocations: 367.8 kB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3999, allocations: 0 / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001414/0.4013, allocations: 450.7 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/0.4014, allocations: 71.39 kB / 0.5705 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4014, allocations: 0 / 0.5705 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4014, allocations: 0 / 0.5705 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.4018, allocations: 67.91 kB / 0.5705 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4018, allocations: 0 / 0.5705 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.4022, allocations: 71.84 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.4022, allocations: 4 kB / 0.5706 GB, free: 11.11 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.0001504/0.4024, allocations: 139.1 kB / 0.5707 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.4024, allocations: 19.86 kB / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.4039, allocations: 409.8 kB / 0.5711 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4039, allocations: 0 / 0.5711 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4039, allocations: 3.984 kB / 0.5712 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4039, allocations: 3.938 kB / 0.5712 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.4056, allocations: 0.6729 MB / 0.5718 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4056, allocations: 112 / 0.5718 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.406, allocations: 67.84 kB / 0.5719 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.406, allocations: 4 kB / 0.5719 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.406, allocations: 7.938 kB / 0.5719 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.406, allocations: 0 / 0.5719 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.406, allocations: 3.984 kB / 0.5719 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.4074, allocations: 483 kB / 0.5724 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.4074, allocations: 19.91 kB / 0.5724 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.4075, allocations: 7.922 kB / 0.5724 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.4079, allocations: 67.91 kB / 0.5724 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.408, allocations: 43.92 kB / 0.5725 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.408, allocations: 8 kB / 0.5725 GB, free: 9.094 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.4082, allocations: 184.6 kB / 0.5727 GB, free: 8.914 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4082, allocations: 0 / 0.5727 GB, free: 8.914 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000299/0.4085, allocations: 40 kB / 0.5727 GB, free: 8.875 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.001507/0.41, allocations: 405.4 kB / 0.5731 GB, free: 8.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.4115, allocations: 462.3 kB / 0.5735 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4115, allocations: 0 / 0.5735 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006525/0.4121, allocations: 183.7 kB / 0.5737 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.4125, allocations: 39.94 kB / 0.5737 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009915/0.4135, allocations: 384.4 kB / 0.5741 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.4139, allocations: 0.7162 MB / 0.5748 GB, free: 6.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.414, allocations: 31.42 kB / 0.5748 GB, free: 6.738 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.414, allocations: 0 / 0.5748 GB, free: 6.738 MB / 414.1 MB Notification: Performance of Templates: time 0.005748/0.4197, allocations: 3.215 MB / 0.578 GB, free: 3.523 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.098501209169626]