Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001176/0.001176, 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.00135/0.00135, 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.394/1.394, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2281/0.2281, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.355, allocations: 62.45 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002832/0.3579, allocations: 1.599 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009629/0.3589, allocations: 0.5647 MB / 0.5326 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.156e-05/0.3589, allocations: 0 / 0.5326 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.3592, allocations: 23.36 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.3594, allocations: 79.27 kB / 0.5327 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.3597, allocations: 111.4 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.3599, allocations: 63.34 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.36, allocations: 24.05 kB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.59e-05/0.3601, allocations: 27.19 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.711e-05/0.3602, allocations: 28.52 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.3602, allocations: 4.375 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.3604, allocations: 104.4 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.3605, allocations: 19.38 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.31e-05/0.3606, allocations: 21.09 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.3609, allocations: 148.2 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3609, allocations: 4 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3609, allocations: 0 / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.3609, allocations: 5.031 kB / 0.5333 GB, free: 11.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005555/0.3615, allocations: 408.3 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3615, allocations: 14.02 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.233e-05/0.3616, allocations: 35.8 kB / 0.5337 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.3616, allocations: 8.156 kB / 0.5337 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.3618, allocations: 190.3 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3618, allocations: 5.5 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.3619, allocations: 6.75 kB / 0.5339 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.362, allocations: 67.61 kB / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.362, allocations: 1.344 kB / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.362, allocations: 4 kB / 0.534 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3621, allocations: 1.438 kB / 0.534 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.772e-05/0.3621, allocations: 21.48 kB / 0.534 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.3626, allocations: 299.5 kB / 0.5343 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.3627, allocations: 50.09 kB / 0.5343 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.813e-05/0.3628, allocations: 24.28 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3628, allocations: 1.562 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.3628, allocations: 30.56 kB / 0.5344 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3628, allocations: 5.125 kB / 0.5344 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006112/0.3635, allocations: 186.1 kB / 0.5346 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.3635, allocations: 78.39 kB / 0.5347 GB, free: 9.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.3637, allocations: 156.3 kB / 0.5348 GB, free: 9.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.3637, allocations: 26.92 kB / 0.5348 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.3638, allocations: 90.77 kB / 0.5349 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.3638, allocations: 27.3 kB / 0.5349 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.3639, allocations: 19.56 kB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.364, allocations: 325.4 kB / 0.5353 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.3641, allocations: 32.09 kB / 0.5353 GB, free: 9.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.3642, allocations: 38.02 kB / 0.5353 GB, free: 9.246 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3644, allocations: 80.53 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3644, allocations: 0 / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002179/0.3646, allocations: 108.3 kB / 0.5355 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3646, allocations: 9.438 kB / 0.5355 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3646, allocations: 3.984 kB / 0.5355 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3646, allocations: 1.375 kB / 0.5355 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3648, allocations: 17.75 kB / 0.5356 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3648, allocations: 3.984 kB / 0.5356 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.3648, allocations: 12.06 kB / 0.5356 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3648, allocations: 1.375 kB / 0.5356 GB, free: 9.109 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 (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 prepare postOptimizeDAE: time 9.461e-05/0.3649, allocations: 127.2 kB / 0.5357 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.365, allocations: 8.031 kB / 0.5357 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.3652, allocations: 115.5 kB / 0.5358 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3653, allocations: 5.312 kB / 0.5358 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3653, allocations: 0 / 0.5358 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3653, allocations: 7.938 kB / 0.5358 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.3658, allocations: 391.4 kB / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3658, allocations: 0 / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.415e-05/0.3658, allocations: 16.36 kB / 0.5362 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3659, allocations: 3.938 kB / 0.5362 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3659, allocations: 1.656 kB / 0.5362 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3659, allocations: 5.312 kB / 0.5362 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3659, allocations: 0 / 0.5362 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.3662, allocations: 205.4 kB / 0.5364 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.3662, allocations: 88.31 kB / 0.5365 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.3662, allocations: 3.938 kB / 0.5365 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.3663, allocations: 8.234 kB / 0.5365 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.3664, allocations: 2.156 kB / 0.5365 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.3664, allocations: 6.188 kB / 0.5365 GB, free: 8.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.026e-05/0.3665, allocations: 120.8 kB / 0.5366 GB, free: 8.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3665, allocations: 0 / 0.5366 GB, free: 8.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.3668, allocations: 39.55 kB / 0.5367 GB, free: 8.098 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.001529/0.3683, allocations: 1.119 MB / 0.5378 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.3685, allocations: 77.39 kB / 0.5378 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3686, allocations: 1.188 kB / 0.5378 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.887e-05/0.3687, allocations: 40.56 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.0003481/0.369, allocations: 13.8 kB / 0.5379 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.3708, allocations: 1.528 MB / 0.5394 GB, free: 5.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.3711, allocations: 0.6925 MB / 0.5401 GB, free: 5.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.481e-05/0.3712, allocations: 25.48 kB / 0.5401 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/0.3713, allocations: 30.77 kB / 0.5401 GB, free: 5.07 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3713, allocations: 1.031 kB / 0.5401 GB, free: 5.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.3911, allocations: 3.523 MB / 0.5436 GB, free: 3.082 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.124, allocations: 9.812 kB / 0.5436 GB, free: 3.078 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],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(d_t_new.u),der(t_new.u[1]),der(t_new.y[1]),dummy,t_new.columns[1],t_new.extrapolation,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time