Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2529/0.2529, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001534, allocations: 76.09 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3597, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003165/0.3629, allocations: 1.661 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.3648, allocations: 1.201 MB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.3648, allocations: 1.125 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.3651, allocations: 23.95 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.3654, allocations: 85.89 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.3658, allocations: 180.2 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.366, allocations: 84 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3661, allocations: 17.08 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/0.3662, allocations: 28.33 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.3663, allocations: 36.62 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.3664, allocations: 11.94 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.3666, allocations: 104.9 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-05/0.3667, allocations: 18.8 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.3667, allocations: 41.28 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.367, allocations: 146.2 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.367, allocations: 0 / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.367, allocations: 0 / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.3671, allocations: 3.984 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006332/0.3677, allocations: 412.2 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3677, allocations: 13.62 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.3678, allocations: 36.12 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.3678, allocations: 8.969 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.3681, allocations: 205.3 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3681, allocations: 5.75 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.3681, allocations: 7.062 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.3684, allocations: 82.5 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3684, allocations: 0 / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3684, allocations: 5.375 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3684, allocations: 1.375 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.3686, allocations: 41.95 kB / 0.5349 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.3691, allocations: 311.1 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.3692, allocations: 53.75 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.783e-05/0.3693, allocations: 27.92 kB / 0.5352 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.3693, allocations: 1.453 kB / 0.5352 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.3694, allocations: 31.94 kB / 0.5353 GB, free: 9.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.3694, allocations: 0 / 0.5353 GB, free: 9.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008405/0.3702, allocations: 235 kB / 0.5355 GB, free: 9.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.3703, allocations: 82.44 kB / 0.5356 GB, free: 9.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.3705, allocations: 157.1 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3705, allocations: 30.83 kB / 0.5357 GB, free: 9.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.3706, allocations: 100.2 kB / 0.5358 GB, free: 8.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.3706, allocations: 22.88 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.3707, allocations: 27.89 kB / 0.5359 GB, free: 8.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3708, allocations: 321 kB / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.371, allocations: 34.12 kB / 0.5362 GB, free: 8.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.3711, allocations: 60.97 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.3714, allocations: 91.12 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3714, allocations: 0 / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003011/0.3717, allocations: 128.9 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3717, allocations: 5.562 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3717, allocations: 0 / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3717, allocations: 1.094 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3719, allocations: 30.59 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3719, allocations: 1.156 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.894e-05/0.372, allocations: 17.27 kB / 0.5365 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.372, allocations: 2.031 kB / 0.5365 GB, free: 8.41 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 8.973e-05/0.3721, allocations: 116.5 kB / 0.5367 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.3721, allocations: 8.469 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.3725, allocations: 138.7 kB / 0.5368 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3725, allocations: 1.156 kB / 0.5368 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3725, allocations: 3.938 kB / 0.5368 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3726, allocations: 7.922 kB / 0.5368 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005813/0.3731, allocations: 415.4 kB / 0.5372 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3732, allocations: 1.438 kB / 0.5372 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.3733, allocations: 26.39 kB / 0.5372 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3733, allocations: 0 / 0.5372 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3733, allocations: 9.141 kB / 0.5372 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3733, allocations: 1.062 kB / 0.5372 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3733, allocations: 0 / 0.5372 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.3736, allocations: 228.4 kB / 0.5375 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.3737, allocations: 88.27 kB / 0.5375 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3737, allocations: 5.312 kB / 0.5376 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3738, allocations: 9.953 kB / 0.5376 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.3739, allocations: 10.77 kB / 0.5376 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.3739, allocations: 1.562 kB / 0.5376 GB, free: 7.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.374, allocations: 120 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.374, allocations: 0 / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003107/0.3743, allocations: 43.33 kB / 0.5377 GB, free: 7.371 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00164/0.376, allocations: 1.136 MB / 0.5388 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.3764, allocations: 97.69 kB / 0.5389 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3764, allocations: 0 / 0.5389 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.3765, allocations: 51.95 kB / 0.539 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.3769, allocations: 26.75 kB / 0.539 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.379, allocations: 1.652 MB / 0.5406 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.3793, allocations: 0.7028 MB / 0.5413 GB, free: 4.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.3794, allocations: 27.44 kB / 0.5413 GB, free: 4.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-05/0.3795, allocations: 32.3 kB / 0.5414 GB, free: 4.246 MB / 398.1 MB Notification: Performance of SimCode: time 2.235e-06/0.3795, allocations: 96 / 0.5414 GB, free: 4.246 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.4018, allocations: 3.603 MB / 0.5449 GB, free: 2.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/8.243, allocations: 13.19 kB / 0.5449 GB, free: 2.203 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,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.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