Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3525, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.004223/0.3567, allocations: 1.614 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3581, allocations: 0.5482 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/0.3583, allocations: 5.25 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.3586, allocations: 23.88 kB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003903/0.359, allocations: 81.12 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.3594, allocations: 97.81 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.3596, allocations: 72.98 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3597, allocations: 7.688 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.3598, allocations: 30.75 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3599, allocations: 34.41 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.3599, allocations: 4.125 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.3603, allocations: 105 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.3604, allocations: 20.06 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.698e-05/0.3605, allocations: 33.28 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.3609, allocations: 143.5 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3609, allocations: 5.312 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3609, allocations: 0 / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.361, allocations: 0 / 0.5333 GB, free: 11.33 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006931/0.3617, allocations: 406.6 kB / 0.5336 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.3617, allocations: 9.625 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.3618, allocations: 32.12 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.067e-05/0.3619, allocations: 12.97 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.3622, allocations: 204.3 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3622, allocations: 1.75 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.3622, allocations: 3.125 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.3625, allocations: 69.08 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.3625, allocations: 1.375 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3625, allocations: 0 / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3625, allocations: 1.375 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.3627, allocations: 35.09 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00066/0.3633, allocations: 298.9 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.3635, allocations: 59.3 kB / 0.5343 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.3636, allocations: 25.34 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.3637, allocations: 0 / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.3637, allocations: 43.94 kB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.3637, allocations: 0 / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009456/0.3647, allocations: 190.2 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.3648, allocations: 82.58 kB / 0.5347 GB, free: 9.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.365, allocations: 161.3 kB / 0.5348 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.365, allocations: 29.7 kB / 0.5349 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.3651, allocations: 91.52 kB / 0.5349 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.3651, allocations: 31.7 kB / 0.535 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.3652, allocations: 21.12 kB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3653, allocations: 326 kB / 0.5353 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.3655, allocations: 32.22 kB / 0.5353 GB, free: 9.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3656, allocations: 47.48 kB / 0.5354 GB, free: 9.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.3658, allocations: 69.91 kB / 0.5354 GB, free: 9.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3659, allocations: 0 / 0.5354 GB, free: 9.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003376/0.3662, allocations: 112.3 kB / 0.5356 GB, free: 9.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3662, allocations: 4.375 kB / 0.5356 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3662, allocations: 1.188 kB / 0.5356 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.3663, allocations: 0 / 0.5356 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.3664, allocations: 27.39 kB / 0.5356 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3665, allocations: 5.188 kB / 0.5356 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/0.3666, allocations: 7.547 kB / 0.5356 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.3666, allocations: 6.312 kB / 0.5356 GB, free: 9.113 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 (9): * Single equations (assignments): 9 * 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 0.0001033/0.3667, allocations: 118.2 kB / 0.5357 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.3668, allocations: 8.75 kB / 0.5357 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003687/0.3672, allocations: 117.7 kB / 0.5358 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.247e-06/0.3672, allocations: 5.188 kB / 0.5358 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3672, allocations: 3.938 kB / 0.5358 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3672, allocations: 8.859 kB / 0.5359 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007944/0.368, allocations: 392 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3681, allocations: 0 / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.3682, allocations: 21.02 kB / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3682, allocations: 5.312 kB / 0.5362 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3682, allocations: 3.938 kB / 0.5363 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3682, allocations: 5.531 kB / 0.5363 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3682, allocations: 240 / 0.5363 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.3686, allocations: 204.1 kB / 0.5365 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.3687, allocations: 82.39 kB / 0.5365 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.3687, allocations: 9.688 kB / 0.5365 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.3689, allocations: 4.125 kB / 0.5365 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.3689, allocations: 10.73 kB / 0.5366 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3689, allocations: 5.375 kB / 0.5366 GB, free: 8.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001564/0.3691, allocations: 133.1 kB / 0.5367 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3691, allocations: 0 / 0.5367 GB, free: 8.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004582/0.3696, allocations: 42.11 kB / 0.5367 GB, free: 8.086 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 (8): * Single equations (assignments): 8 * 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.002167/0.3718, allocations: 1.12 MB / 0.5378 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004148/0.3722, allocations: 71.92 kB / 0.5379 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3722, allocations: 1.156 kB / 0.5379 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.3723, allocations: 38.25 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.3729, allocations: 22.88 kB / 0.5379 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.3754, allocations: 1.552 MB / 0.5395 GB, free: 5.797 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.3759, allocations: 0.6999 MB / 0.5401 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.376, allocations: 16.48 kB / 0.5402 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.3761, allocations: 35.7 kB / 0.5402 GB, free: 5.055 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3761, allocations: 0 / 0.5402 GB, free: 5.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.4017, allocations: 3.581 MB / 0.5437 GB, free: 3.039 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/7.987, allocations: 7.281 kB / 0.5437 GB, free: 3.035 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),der(t_new.y[1]),dummy,t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time