Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001701/0.001701, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002134/0.002134, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2436/0.2436, allocations: 46.93 MB / 360.9 MB, free: 4.262 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003591/0.003591, allocations: 67.91 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3312, allocations: 66.04 MB / 0.5607 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003249/0.3344, allocations: 1.871 MB / 0.5625 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.3361, allocations: 1.069 MB / 0.5635 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.3362, allocations: 7.938 kB / 0.5635 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.3364, allocations: 55.73 kB / 0.5636 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.3368, allocations: 123.4 kB / 0.5637 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.3372, allocations: 215.2 kB / 0.5639 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.3375, allocations: 207.4 kB / 0.5641 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.452e-05/0.3376, allocations: 15.56 kB / 0.5641 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3378, allocations: 91.67 kB / 0.5642 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.3379, allocations: 99.64 kB / 0.5643 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.3379, allocations: 19.98 kB / 0.5643 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.606e-05/0.338, allocations: 47.92 kB / 0.5644 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.928e-05/0.3381, allocations: 43.84 kB / 0.5644 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.761e-05/0.3382, allocations: 75.58 kB / 0.5645 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.3385, allocations: 199.1 kB / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3385, allocations: 0 / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3385, allocations: 0 / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3385, allocations: 0 / 0.5647 GB, free: 348 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.001079/0.3396, allocations: 0.5199 MB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3396, allocations: 8.031 kB / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.3397, allocations: 38.69 kB / 0.5652 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.3397, allocations: 16.84 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.34, allocations: 179.3 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.34, allocations: 8.375 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.34, allocations: 7.938 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.3405, allocations: 149.5 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3405, allocations: 7.875 kB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.3405, allocations: 0 / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3405, allocations: 4 kB / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006847/0.3412, allocations: 167.8 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008076/0.342, allocations: 399.6 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007674/0.3428, allocations: 206.3 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.3431, allocations: 84.77 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.3432, allocations: 4 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005554/0.3437, allocations: 167.2 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.3437, allocations: 0 / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003676/0.3474, allocations: 0.8361 MB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.3474, allocations: 67.34 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.3477, allocations: 252.9 kB / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.3478, allocations: 29.7 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.3479, allocations: 132.1 kB / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.3479, allocations: 35.69 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.813e-05/0.348, allocations: 33.7 kB / 0.5679 GB, free: 12.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3482, allocations: 330.8 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007079/0.3489, allocations: 175.8 kB / 0.5684 GB, free: 12.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.3496, allocations: 176.4 kB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.3509, allocations: 374.2 kB / 0.5689 GB, free: 11.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3509, allocations: 4 kB / 0.5689 GB, free: 11.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001552/0.3524, allocations: 472.4 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.739e-05/0.3525, allocations: 66.06 kB / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3525, allocations: 0 / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.3525, allocations: 11.91 kB / 0.5695 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.353, allocations: 75.84 kB / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.353, allocations: 112 / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004079/0.3534, allocations: 67.84 kB / 0.5696 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.3534, allocations: 8 kB / 0.5696 GB, free: 11.06 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.0001474/0.3536, allocations: 141.7 kB / 0.5697 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.3536, allocations: 19.91 kB / 0.5698 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.3551, allocations: 419 kB / 0.5702 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3551, allocations: 3.938 kB / 0.5702 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3551, allocations: 0 / 0.5702 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3551, allocations: 11.98 kB / 0.5702 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.357, allocations: 0.7003 MB / 0.5709 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.357, allocations: 0 / 0.5709 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.3574, allocations: 71.84 kB / 0.5709 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3574, allocations: 0 / 0.5709 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3574, allocations: 7.984 kB / 0.5709 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3574, allocations: 0 / 0.5709 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3574, allocations: 0 / 0.5709 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.3589, allocations: 494.9 kB / 0.5714 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.359, allocations: 27.78 kB / 0.5714 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.359, allocations: 4 kB / 0.5714 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.3594, allocations: 63.91 kB / 0.5715 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.3596, allocations: 43.92 kB / 0.5715 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3596, allocations: 8 kB / 0.5715 GB, free: 8.988 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.3598, allocations: 196.5 kB / 0.5717 GB, free: 8.801 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3598, allocations: 0 / 0.5717 GB, free: 8.801 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003354/0.3601, allocations: 40 kB / 0.5718 GB, free: 8.762 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.003357/0.3635, allocations: 1.329 MB / 0.5731 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.365, allocations: 469.8 kB / 0.5735 GB, free: 7.086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.365, allocations: 4 kB / 0.5735 GB, free: 7.082 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007029/0.3657, allocations: 179.7 kB / 0.5737 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.3662, allocations: 51.06 kB / 0.5737 GB, free: 6.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006252/0.3724, allocations: 2.894 MB / 0.5766 GB, free: 3.863 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.3728, allocations: 0.7319 MB / 0.5773 GB, free: 3.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.373, allocations: 29.41 kB / 0.5773 GB, free: 3.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.3731, allocations: 55.41 kB / 0.5774 GB, free: 3.023 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3731, allocations: 0 / 0.5774 GB, free: 3.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.4079, allocations: 6.062 MB / 0.5833 GB, free: 13.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.53, allocations: 7.438 kB / 0.5833 GB, free: 13.02 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.u,d_t_new.y,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),t_new.extrapolation,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.u1[1],t_new.u2[1],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time,trapezoid1.amplitude,trapezoid1.falling,trapezoid1.nperiod,trapezoid1.offset,trapezoid1.period,trapezoid1.rising,trapezoid1.startTime,trapezoid1.width,trapezoid1.y,trapezoid2.amplitude,trapezoid2.falling,trapezoid2.nperiod,trapezoid2.offset,trapezoid2.period,trapezoid2.rising,trapezoid2.startTime,trapezoid2.width,trapezoid2.y [Calling sys.exit(0), Time elapsed: 14.664372644852847]