Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001486/0.001486, 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.001514/0.001514, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247 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.2355/0.2355, allocations: 46.13 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 83.88 kB / 481 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.367, allocations: 62.44 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003758/0.3709, allocations: 1.755 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.3728, allocations: 1.033 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.102e-05/0.3729, allocations: 1.188 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.3732, allocations: 103 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.3736, allocations: 132.9 kB / 0.5337 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.3738, allocations: 83.97 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.374, allocations: 120.8 kB / 0.5339 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3742, allocations: 11.16 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.3743, allocations: 55.14 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3744, allocations: 64.81 kB / 0.534 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3744, allocations: 8.125 kB / 0.534 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.3746, allocations: 62.45 kB / 0.5341 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.3746, allocations: 33.42 kB / 0.5341 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.3747, allocations: 41.31 kB / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.375, allocations: 156.6 kB / 0.5343 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.375, allocations: 0 / 0.5343 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.375, allocations: 0 / 0.5343 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.375, allocations: 1.375 kB / 0.5343 GB, free: 10.69 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008909/0.3759, allocations: 451.5 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.376, allocations: 13.62 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.488e-05/0.3761, allocations: 36.11 kB / 0.5348 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.3762, allocations: 14.34 kB / 0.5348 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.3766, allocations: 227.1 kB / 0.535 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.3766, allocations: 3.125 kB / 0.535 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.3767, allocations: 10.64 kB / 0.535 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.3769, allocations: 55.42 kB / 0.535 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3769, allocations: 1.375 kB / 0.535 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3769, allocations: 4 kB / 0.5351 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.377, allocations: 5.375 kB / 0.5351 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.3771, allocations: 28.33 kB / 0.5351 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.3776, allocations: 306.9 kB / 0.5354 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.3779, allocations: 60.67 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.486e-05/0.378, allocations: 18.61 kB / 0.5355 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.378, allocations: 9.359 kB / 0.5355 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.3783, allocations: 74.52 kB / 0.5355 GB, free: 9.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.3783, allocations: 0 / 0.5355 GB, free: 9.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008615/0.3791, allocations: 248 kB / 0.5358 GB, free: 9.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.3792, allocations: 61.23 kB / 0.5358 GB, free: 9.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.3795, allocations: 246.9 kB / 0.5361 GB, free: 9.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3795, allocations: 30.92 kB / 0.5361 GB, free: 9.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.464e-05/0.3796, allocations: 114.8 kB / 0.5362 GB, free: 8.895 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/0.3797, allocations: 41.39 kB / 0.5362 GB, free: 8.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.3797, allocations: 30.42 kB / 0.5363 GB, free: 8.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3799, allocations: 327.5 kB / 0.5366 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.256e-05/0.38, allocations: 27.39 kB / 0.5366 GB, free: 8.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-05/0.3801, allocations: 47.2 kB / 0.5367 GB, free: 8.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.3803, allocations: 88.44 kB / 0.5367 GB, free: 8.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3803, allocations: 1.062 kB / 0.5367 GB, free: 8.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002406/0.3805, allocations: 134.9 kB / 0.5369 GB, free: 8.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3806, allocations: 5.219 kB / 0.5369 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3806, allocations: 0 / 0.5369 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3806, allocations: 1.094 kB / 0.5369 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.3807, allocations: 21.69 kB / 0.5369 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3807, allocations: 5.297 kB / 0.5369 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.3807, allocations: 6.812 kB / 0.5369 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.3808, allocations: 7.016 kB / 0.5369 GB, free: 8.309 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.0001329/0.3809, allocations: 141.5 kB / 0.537 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.3809, allocations: 14.28 kB / 0.5371 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.735e-05/0.381, allocations: 20.92 kB / 0.5371 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.381, allocations: 5.094 kB / 0.5371 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.381, allocations: 1.219 kB / 0.5371 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.381, allocations: 0 / 0.5371 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005999/0.3816, allocations: 456.3 kB / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3817, allocations: 5.406 kB / 0.5375 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.3817, allocations: 11.78 kB / 0.5375 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3817, allocations: 1.094 kB / 0.5375 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.3817, allocations: 10.36 kB / 0.5375 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.3817, allocations: 1.281 kB / 0.5376 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3818, allocations: 1.375 kB / 0.5376 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.3821, allocations: 238.4 kB / 0.5378 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.3823, allocations: 89.14 kB / 0.5379 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.3823, allocations: 10.77 kB / 0.5379 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.3824, allocations: 2.594 kB / 0.5379 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.3824, allocations: 7.891 kB / 0.5379 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.3825, allocations: 13.31 kB / 0.5379 GB, free: 7.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.3826, allocations: 188.2 kB / 0.5381 GB, free: 7.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3826, allocations: 1.562 kB / 0.5381 GB, free: 7.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.3829, allocations: 28.16 kB / 0.5381 GB, free: 7.262 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002418/0.3854, allocations: 1.171 MB / 0.5392 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.3856, allocations: 77.25 kB / 0.5393 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3856, allocations: 0 / 0.5393 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/0.3857, allocations: 44.52 kB / 0.5394 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.3861, allocations: 47.8 kB / 0.5394 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.3884, allocations: 1.881 MB / 0.5412 GB, free: 4.723 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.3888, allocations: 0.7188 MB / 0.542 GB, free: 4.008 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.746e-05/0.3888, allocations: 23.97 kB / 0.542 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.3889, allocations: 44.42 kB / 0.542 GB, free: 3.961 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3889, allocations: 0 / 0.542 GB, free: 3.961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.4148, allocations: 4.018 MB / 0.5459 GB, free: 1.824 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.173/8.588, allocations: 13.83 kB / 0.546 GB, free: 1.812 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,d2_t_new.y Variables in the result:d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),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.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time