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.001743/0.001743, 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.002109/0.002109, 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.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 79.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3485, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002755/0.3513, allocations: 1.611 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009783/0.3523, allocations: 0.5575 MB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.3523, allocations: 1.344 kB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.3526, allocations: 28.19 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.3528, allocations: 76.09 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.3531, allocations: 118.6 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.3533, allocations: 71.81 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.681e-05/0.3534, allocations: 14.78 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.3534, allocations: 26.17 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.3535, allocations: 34.08 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.3535, allocations: 3.688 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.3537, allocations: 100.6 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.3538, allocations: 16.36 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.3538, allocations: 20.38 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.354, allocations: 151.9 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.354, allocations: 1.094 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3541, allocations: 4 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.3541, allocations: 0 / 0.5333 GB, free: 11.32 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.0004893/0.3546, allocations: 412.7 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3546, allocations: 10.34 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.3546, allocations: 32.06 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.3547, allocations: 7.625 kB / 0.5337 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.3549, allocations: 195 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.3549, allocations: 4.312 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.3549, allocations: 2.438 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.3551, allocations: 73.95 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3551, allocations: 0 / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3551, allocations: 3.984 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3551, allocations: 3.938 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.027e-05/0.3552, allocations: 27.38 kB / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.3557, allocations: 299.8 kB / 0.5343 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.3558, allocations: 53.77 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.3558, allocations: 23.78 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3559, allocations: 1.844 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3559, allocations: 34.56 kB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3559, allocations: 0 / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006233/0.3565, allocations: 178.5 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.3566, allocations: 78.48 kB / 0.5347 GB, free: 9.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.3567, allocations: 152.4 kB / 0.5348 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3568, allocations: 29.7 kB / 0.5348 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.3568, allocations: 96.25 kB / 0.5349 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.3568, allocations: 14.47 kB / 0.5349 GB, free: 9.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.3569, allocations: 32.58 kB / 0.535 GB, free: 9.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.357, allocations: 317.5 kB / 0.5353 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.75e-05/0.3571, allocations: 36.47 kB / 0.5353 GB, free: 9.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.051e-05/0.3572, allocations: 48.92 kB / 0.5354 GB, free: 9.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.3574, allocations: 68.56 kB / 0.5354 GB, free: 9.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3574, allocations: 7.969 kB / 0.5354 GB, free: 9.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002231/0.3576, allocations: 104.3 kB / 0.5355 GB, free: 9.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3576, allocations: 9.438 kB / 0.5355 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3576, allocations: 0 / 0.5355 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3577, allocations: 0 / 0.5355 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/0.3578, allocations: 17.73 kB / 0.5355 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3578, allocations: 1.375 kB / 0.5356 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.3578, allocations: 10.69 kB / 0.5356 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.3578, allocations: 6.75 kB / 0.5356 GB, free: 9.129 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 8.557e-05/0.3579, allocations: 125.8 kB / 0.5357 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.358, allocations: 8.031 kB / 0.5357 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.3582, allocations: 112.9 kB / 0.5358 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3583, allocations: 1.375 kB / 0.5358 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3583, allocations: 0 / 0.5358 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3583, allocations: 3.938 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.3587, allocations: 403.4 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3588, allocations: 0 / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.539e-05/0.3588, allocations: 15.83 kB / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3588, allocations: 8.969 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3589, allocations: 1.156 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3589, allocations: 0 / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3589, allocations: 0 / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.3591, allocations: 206.4 kB / 0.5364 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.3592, allocations: 87.41 kB / 0.5365 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.3592, allocations: 5.219 kB / 0.5365 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.3593, allocations: 7.406 kB / 0.5365 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.3593, allocations: 6.203 kB / 0.5365 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3593, allocations: 2.562 kB / 0.5365 GB, free: 8.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.823e-05/0.3594, allocations: 113.4 kB / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3594, allocations: 4 kB / 0.5366 GB, free: 8.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.3597, allocations: 42.55 kB / 0.5367 GB, free: 8.117 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.001503/0.3612, allocations: 1.119 MB / 0.5378 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.3615, allocations: 74.47 kB / 0.5378 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3615, allocations: 0 / 0.5378 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.452e-05/0.3616, allocations: 40.94 kB / 0.5379 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.362, allocations: 26.7 kB / 0.5379 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.3638, allocations: 1.528 MB / 0.5394 GB, free: 5.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.364, allocations: 0.6916 MB / 0.5401 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.364e-05/0.3642, allocations: 22.7 kB / 0.5401 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.881e-05/0.3642, allocations: 26.14 kB / 0.5401 GB, free: 5.094 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3642, allocations: 0 / 0.5401 GB, free: 5.094 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.3844, allocations: 3.526 MB / 0.5436 GB, free: 3.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.479/7.864, allocations: 9.938 kB / 0.5436 GB, free: 3.098 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