Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001591/0.001591, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002166/0.002166, allocations: 197.2 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.427/1.427, 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.2107/0.2107, allocations: 46.09 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001636, allocations: 75.88 kB / 480.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3672, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.00351/0.3708, allocations: 1.616 MB / 0.5321 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3719, allocations: 0.5331 MB / 0.5326 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.3721, allocations: 5.156 kB / 0.5326 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.3725, allocations: 78.2 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.3729, allocations: 97.38 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.3732, allocations: 91.77 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.3734, allocations: 85.55 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.3736, allocations: 21.05 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.58e-05/0.3736, allocations: 34.12 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.3738, allocations: 48.23 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.3738, allocations: 1.906 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.3739, allocations: 45.39 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.374, allocations: 22.78 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.374, allocations: 34.56 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.3743, allocations: 105.7 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3743, allocations: 1.375 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3743, allocations: 7.938 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3743, allocations: 0 / 0.5333 GB, free: 11.31 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.000524/0.3749, allocations: 402.5 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3749, allocations: 9.625 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.3749, allocations: 36.12 kB / 0.5337 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.375, allocations: 16.86 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.3752, allocations: 203 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3752, allocations: 1.75 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.3753, allocations: 7.109 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3754, allocations: 58 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3755, allocations: 1.375 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.3755, allocations: 0 / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3755, allocations: 1.375 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.3756, allocations: 27.09 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.376, allocations: 298.8 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.3761, allocations: 41.69 kB / 0.5343 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.3762, allocations: 21.19 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.3762, allocations: 1.375 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.3763, allocations: 30.56 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.3763, allocations: 0 / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009369/0.3772, allocations: 225.6 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.3773, allocations: 56.72 kB / 0.5347 GB, free: 9.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.3775, allocations: 208.4 kB / 0.5349 GB, free: 9.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3775, allocations: 25.7 kB / 0.5349 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.3776, allocations: 102.1 kB / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.3776, allocations: 38.05 kB / 0.535 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.3777, allocations: 20.06 kB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3778, allocations: 322.4 kB / 0.5353 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.38e-05/0.3779, allocations: 25.3 kB / 0.5354 GB, free: 9.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.17e-05/0.378, allocations: 22.08 kB / 0.5354 GB, free: 9.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3782, allocations: 60.7 kB / 0.5354 GB, free: 9.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3782, allocations: 4 kB / 0.5354 GB, free: 9.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002329/0.3784, allocations: 104.2 kB / 0.5355 GB, free: 9.168 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3784, allocations: 8.688 kB / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.3785, allocations: 1.312 kB / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3785, allocations: 0 / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.3786, allocations: 17.58 kB / 0.5356 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3786, allocations: 9.219 kB / 0.5356 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.3787, allocations: 3.344 kB / 0.5356 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3787, allocations: 2.25 kB / 0.5356 GB, free: 9.152 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 0.000107/0.3788, allocations: 131.2 kB / 0.5357 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.3788, allocations: 12.8 kB / 0.5357 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/0.3792, allocations: 124.4 kB / 0.5358 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3792, allocations: 0 / 0.5358 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.3792, allocations: 9.109 kB / 0.5359 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.3792, allocations: 0 / 0.5359 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.3798, allocations: 406.1 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3798, allocations: 1.156 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.537e-05/0.3799, allocations: 21.42 kB / 0.5363 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.3799, allocations: 1.031 kB / 0.5363 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3799, allocations: 1.031 kB / 0.5363 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3799, allocations: 1 kB / 0.5363 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3799, allocations: 0.9688 kB / 0.5363 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.3802, allocations: 212 kB / 0.5365 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.3803, allocations: 87.3 kB / 0.5365 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3803, allocations: 5.484 kB / 0.5366 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.3804, allocations: 4.031 kB / 0.5366 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.3804, allocations: 7.609 kB / 0.5366 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.3804, allocations: 2.625 kB / 0.5366 GB, free: 8.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.3806, allocations: 154.1 kB / 0.5367 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3806, allocations: 3.938 kB / 0.5367 GB, free: 8.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.3808, allocations: 25.64 kB / 0.5367 GB, free: 8.105 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001547/0.3824, allocations: 1.082 MB / 0.5378 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.3826, allocations: 66.41 kB / 0.5379 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3827, allocations: 4 kB / 0.5379 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.975e-05/0.3828, allocations: 41.62 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.0003838/0.3832, allocations: 21.44 kB / 0.5379 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.3851, allocations: 1.64 MB / 0.5395 GB, free: 5.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.3854, allocations: 0.7019 MB / 0.5402 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.992e-05/0.3854, allocations: 12.59 kB / 0.5402 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.3855, allocations: 29.06 kB / 0.5403 GB, free: 5.035 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3855, allocations: 0 / 0.5403 GB, free: 5.035 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.4071, allocations: 3.068 MB / 0.5433 GB, free: 3.348 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/8.198, allocations: 12.02 kB / 0.5433 GB, free: 3.344 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time