Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_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.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_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.001112/0.001112, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 88.08 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3821, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002858/0.385, allocations: 1.73 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.3866, allocations: 1.038 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.928e-05/0.3867, allocations: 1.188 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.387, allocations: 41.58 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.3874, allocations: 93.19 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.3876, allocations: 85 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.3878, allocations: 107 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.388, allocations: 9.797 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.3881, allocations: 58.86 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.799e-05/0.3882, allocations: 33.94 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.3882, allocations: 4.125 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.3884, allocations: 120.4 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.3885, allocations: 17.42 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.3885, allocations: 36.05 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.3889, allocations: 183.7 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3889, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3889, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.944e-06/0.3889, allocations: 1.375 kB / 0.5341 GB, free: 10.75 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.0006307/0.3895, allocations: 422.6 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3896, allocations: 9.625 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.3896, allocations: 36.12 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.3897, allocations: 10.34 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.39, allocations: 234.1 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.39, allocations: 1.75 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.3901, allocations: 6.688 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.3903, allocations: 66.52 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3903, allocations: 3.938 kB / 0.5348 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3903, allocations: 4 kB / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3903, allocations: 1.375 kB / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.91e-05/0.3904, allocations: 18.98 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.3908, allocations: 282.7 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.391, allocations: 67.42 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.184e-05/0.3911, allocations: 26.72 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3911, allocations: 0 / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.3913, allocations: 75.83 kB / 0.5353 GB, free: 9.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.3913, allocations: 0 / 0.5353 GB, free: 9.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006269/0.3919, allocations: 204.7 kB / 0.5355 GB, free: 9.387 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.392, allocations: 82.3 kB / 0.5355 GB, free: 9.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.3922, allocations: 165.3 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.3922, allocations: 31.11 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.3923, allocations: 95.28 kB / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.3923, allocations: 33 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.3924, allocations: 33.83 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3925, allocations: 326.2 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.398e-05/0.3926, allocations: 27.11 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-05/0.3927, allocations: 47.34 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3928, allocations: 88.59 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3928, allocations: 4.031 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002285/0.3931, allocations: 127 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3931, allocations: 5.719 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3931, allocations: 0 / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3931, allocations: 1.188 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3932, allocations: 20.95 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3932, allocations: 5.094 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.3933, allocations: 3.375 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.3933, allocations: 3.406 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001008/0.3934, allocations: 136.8 kB / 0.5366 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.3934, allocations: 8.875 kB / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.3935, allocations: 12.12 kB / 0.5367 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3935, allocations: 1.125 kB / 0.5367 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3935, allocations: 5.156 kB / 0.5367 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.3935, allocations: 0 / 0.5367 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.3941, allocations: 434.8 kB / 0.5371 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3941, allocations: 3.938 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.3941, allocations: 25.92 kB / 0.5371 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3942, allocations: 1.531 kB / 0.5371 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3942, allocations: 6.625 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3942, allocations: 0 / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3942, allocations: 1.312 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3945, allocations: 219.6 kB / 0.5373 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.3945, allocations: 87.86 kB / 0.5374 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.3946, allocations: 2.188 kB / 0.5374 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.3946, allocations: 10.11 kB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.3947, allocations: 4.25 kB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.3947, allocations: 8.203 kB / 0.5374 GB, free: 7.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.3948, allocations: 126.9 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3948, allocations: 1.469 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.3952, allocations: 51.83 kB / 0.5376 GB, free: 7.445 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001717/0.3969, allocations: 1.201 MB / 0.5388 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3971, allocations: 77.5 kB / 0.5389 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3971, allocations: 0 / 0.5389 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.719e-05/0.3972, allocations: 34.48 kB / 0.5389 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.3976, allocations: 38.23 kB / 0.5389 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.3994, allocations: 1.663 MB / 0.5405 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.3998, allocations: 0.7091 MB / 0.5412 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.536e-05/0.3999, allocations: 29.23 kB / 0.5413 GB, free: 4.293 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.4, allocations: 38.61 kB / 0.5413 GB, free: 4.266 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4, allocations: 0 / 0.5413 GB, free: 4.266 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.4216, allocations: 4.269 MB / 0.5455 GB, free: 1.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/8.26, allocations: 12.31 kB / 0.5455 GB, free: 1.902 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.y[1]),dummy,t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time