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.001815/0.001815, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002443/0.002443, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.504/1.504, allocations: 230.5 MB / 257.4 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.2383/0.2383, allocations: 46.93 MB / 360.8 MB, free: 4.195 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002627/0.002627, allocations: 83.88 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3811, allocations: 66.08 MB / 0.5608 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003611/0.3847, allocations: 1.875 MB / 0.5626 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.3865, allocations: 1.064 MB / 0.5636 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.3866, allocations: 0 / 0.5636 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.3869, allocations: 67.66 kB / 0.5637 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.3873, allocations: 115.5 kB / 0.5638 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.3878, allocations: 214.4 kB / 0.564 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.3881, allocations: 203.3 kB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3883, allocations: 31.53 kB / 0.5642 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.3884, allocations: 83.69 kB / 0.5643 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.3886, allocations: 107.6 kB / 0.5644 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.3886, allocations: 12 kB / 0.5644 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.3887, allocations: 40 kB / 0.5645 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3888, allocations: 47.81 kB / 0.5645 GB, free: 468 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.389, allocations: 75.53 kB / 0.5646 GB, free: 392 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.3893, allocations: 195.2 kB / 0.5648 GB, free: 196 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3893, allocations: 3.938 kB / 0.5648 GB, free: 192 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.3893, allocations: 3.984 kB / 0.5648 GB, free: 188 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3893, allocations: 4 kB / 0.5648 GB, free: 184 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.001168/0.3905, allocations: 0.5044 MB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3905, allocations: 12.03 kB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.3905, allocations: 34.75 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.3906, allocations: 20.84 kB / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.3909, allocations: 187.2 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.3909, allocations: 4.375 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.391, allocations: 8.375 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.3915, allocations: 149.7 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3915, allocations: 0 / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3915, allocations: 0 / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3915, allocations: 8 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006904/0.3922, allocations: 167.7 kB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000901/0.3931, allocations: 407.5 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000738/0.3938, allocations: 190.4 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/0.3942, allocations: 92.75 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.3942, allocations: 0 / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005941/0.3948, allocations: 175.1 kB / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.3948, allocations: 0 / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003681/0.3985, allocations: 0.84 MB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.3986, allocations: 51.41 kB / 0.5675 GB, free: 13.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.3989, allocations: 264.8 kB / 0.5678 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.3989, allocations: 29.7 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.753e-05/0.399, allocations: 128.1 kB / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.646e-05/0.3991, allocations: 43.83 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.3992, allocations: 33.72 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3993, allocations: 334.8 kB / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006918/0.4, allocations: 171.8 kB / 0.5685 GB, free: 12.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/0.4007, allocations: 179.8 kB / 0.5687 GB, free: 12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.4019, allocations: 371.9 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.4019, allocations: 3.984 kB / 0.569 GB, free: 11.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001467/0.4034, allocations: 472.8 kB / 0.5695 GB, free: 11.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.223e-05/0.4035, allocations: 63.41 kB / 0.5695 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4035, allocations: 4 kB / 0.5695 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4035, allocations: 0 / 0.5695 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.4039, allocations: 71.83 kB / 0.5696 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.4039, allocations: 4 kB / 0.5696 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.4043, allocations: 67.84 kB / 0.5697 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.4043, allocations: 4 kB / 0.5697 GB, free: 10.91 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.0001659/0.4045, allocations: 139.1 kB / 0.5698 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.4046, allocations: 16.02 kB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.406, allocations: 438.8 kB / 0.5702 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.406, allocations: 0 / 0.5702 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.406, allocations: 0 / 0.5702 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.406, allocations: 7.922 kB / 0.5702 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.4078, allocations: 0.6974 MB / 0.5709 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4078, allocations: 4 kB / 0.5709 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/0.4082, allocations: 67.84 kB / 0.571 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.4082, allocations: 4 kB / 0.571 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.4082, allocations: 11.92 kB / 0.571 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.4082, allocations: 0.5625 kB / 0.571 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4082, allocations: 0 / 0.571 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.4097, allocations: 490.2 kB / 0.5715 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.4097, allocations: 27.83 kB / 0.5715 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.4098, allocations: 7.938 kB / 0.5715 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/0.4102, allocations: 63.91 kB / 0.5716 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.4103, allocations: 51.86 kB / 0.5716 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.4103, allocations: 4 kB / 0.5716 GB, free: 8.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.4106, allocations: 192.5 kB / 0.5718 GB, free: 8.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4106, allocations: 0 / 0.5718 GB, free: 8.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.4109, allocations: 44 kB / 0.5719 GB, free: 8.605 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.00323/0.4141, allocations: 1.315 MB / 0.5731 GB, free: 7.406 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.4157, allocations: 482.3 kB / 0.5736 GB, free: 6.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4157, allocations: 0 / 0.5736 GB, free: 6.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006987/0.4164, allocations: 179.7 kB / 0.5738 GB, free: 6.734 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.4168, allocations: 36.64 kB / 0.5738 GB, free: 6.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005973/0.4227, allocations: 2.893 MB / 0.5766 GB, free: 3.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.4231, allocations: 0.728 MB / 0.5773 GB, free: 2.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.4232, allocations: 29.41 kB / 0.5774 GB, free: 2.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.4234, allocations: 59.41 kB / 0.5774 GB, free: 2.863 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4234, allocations: 0 / 0.5774 GB, free: 2.863 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.4583, allocations: 6.069 MB / 0.5834 GB, free: 12.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.8, allocations: 8.953 kB / 0.5834 GB, free: 12.81 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] 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.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.915046461159363]