Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.001599/0.001599, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001777/0.001777, allocations: 217.5 kB / 24.5 MB, free: 4.133 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.46/1.46, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.2244/0.2244, allocations: 46.92 MB / 361.5 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002483/0.002483, allocations: 75.88 kB / 0.4974 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3157, allocations: 66.08 MB / 0.562 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003673/0.3193, allocations: 1.893 MB / 0.5638 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.3212, allocations: 1.06 MB / 0.5649 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.3213, allocations: 4 kB / 0.5649 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.3216, allocations: 67.66 kB / 0.5649 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.322, allocations: 123.4 kB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.3226, allocations: 206.1 kB / 0.5652 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.3229, allocations: 207.4 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3231, allocations: 21.73 kB / 0.5655 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.3232, allocations: 87.67 kB / 0.5655 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.3234, allocations: 103.6 kB / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.3235, allocations: 16 kB / 0.5657 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3236, allocations: 36 kB / 0.5657 GB, free: 444 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.191e-05/0.3237, allocations: 47.77 kB / 0.5657 GB, free: 396 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3238, allocations: 75.58 kB / 0.5658 GB, free: 320 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.3241, allocations: 193.7 kB / 0.566 GB, free: 132 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3241, allocations: 0 / 0.566 GB, free: 132 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3241, allocations: 0 / 0.566 GB, free: 132 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.3241, allocations: 4 kB / 0.566 GB, free: 128 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.001179/0.3253, allocations: 0.5084 MB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3253, allocations: 8.031 kB / 0.5665 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.3254, allocations: 16.84 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.3257, allocations: 186.1 kB / 0.5667 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3257, allocations: 384 / 0.5667 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.3257, allocations: 8.375 kB / 0.5667 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004942/0.3262, allocations: 145.8 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3262, allocations: 0 / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3262, allocations: 4 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3262, allocations: 0 / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006647/0.3269, allocations: 167.8 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000856/0.3278, allocations: 407.5 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007557/0.3285, allocations: 198.4 kB / 0.5676 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.3289, allocations: 88.75 kB / 0.5677 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.3289, allocations: 4 kB / 0.5677 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000571/0.3295, allocations: 171.1 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.3295, allocations: 0 / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003531/0.333, allocations: 0.8362 MB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.3331, allocations: 55.41 kB / 0.5687 GB, free: 13.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.3334, allocations: 246.2 kB / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.3334, allocations: 33.7 kB / 0.569 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.3335, allocations: 124.1 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.3336, allocations: 35.69 kB / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.423e-05/0.3337, allocations: 33.7 kB / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3338, allocations: 346.7 kB / 0.5695 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006856/0.3345, allocations: 167.8 kB / 0.5696 GB, free: 12.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006512/0.3352, allocations: 179.8 kB / 0.5698 GB, free: 12.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.3364, allocations: 374.2 kB / 0.5702 GB, free: 11.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3364, allocations: 0 / 0.5702 GB, free: 11.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001517/0.338, allocations: 468.3 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/0.338, allocations: 67.39 kB / 0.5707 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.338, allocations: 0 / 0.5707 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.338, allocations: 4 kB / 0.5707 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.3385, allocations: 67.84 kB / 0.5708 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3385, allocations: 0 / 0.5708 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.3389, allocations: 71.84 kB / 0.5708 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.3389, allocations: 11.98 kB / 0.5708 GB, free: 10.93 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.0001591/0.339, allocations: 139.1 kB / 0.571 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.3391, allocations: 19.89 kB / 0.571 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.3405, allocations: 422.6 kB / 0.5714 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3405, allocations: 4 kB / 0.5714 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3405, allocations: 0.5625 kB / 0.5714 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3405, allocations: 3.938 kB / 0.5714 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.3423, allocations: 0.6926 MB / 0.5721 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3423, allocations: 4 kB / 0.5721 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/0.3427, allocations: 75.84 kB / 0.5721 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3427, allocations: 0 / 0.5721 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.3427, allocations: 11.86 kB / 0.5722 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3427, allocations: 0 / 0.5722 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3427, allocations: 4 kB / 0.5722 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.3441, allocations: 489.1 kB / 0.5726 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.3441, allocations: 11.91 kB / 0.5726 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.3442, allocations: 11.94 kB / 0.5727 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.3446, allocations: 63.89 kB / 0.5727 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.3447, allocations: 43.94 kB / 0.5728 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.3447, allocations: 11.98 kB / 0.5728 GB, free: 8.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.3449, allocations: 184.5 kB / 0.5729 GB, free: 8.684 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3449, allocations: 0 / 0.5729 GB, free: 8.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.3452, allocations: 47.95 kB / 0.573 GB, free: 8.637 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.001488/0.3467, allocations: 405.4 kB / 0.5734 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.3482, allocations: 470.4 kB / 0.5738 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3482, allocations: 11.88 kB / 0.5738 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000704/0.3489, allocations: 179.8 kB / 0.574 GB, free: 7.703 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.3493, allocations: 43.94 kB / 0.574 GB, free: 7.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009946/0.3503, allocations: 392.5 kB / 0.5744 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.3507, allocations: 0.724 MB / 0.5751 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.3508, allocations: 23.42 kB / 0.5751 GB, free: 6.473 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3508, allocations: 3.938 kB / 0.5752 GB, free: 6.469 MB / 414.1 MB Notification: Performance of Templates: time 0.006334/0.3571, allocations: 3.313 MB / 0.5784 GB, free: 3.156 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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[1],d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.y,t_new.y[1],time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 7.7166380260605365]