Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001104, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 202 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.32/1.32, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 84.09 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3534, allocations: 62.44 MB / 0.5306 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002914/0.3564, allocations: 1.73 MB / 0.5323 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.358, allocations: 1.021 MB / 0.5333 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.3581, allocations: 1.375 kB / 0.5333 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.3584, allocations: 50.56 kB / 0.5333 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.3587, allocations: 96.7 kB / 0.5334 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.359, allocations: 88.06 kB / 0.5335 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.3592, allocations: 96.41 kB / 0.5336 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3593, allocations: 15.7 kB / 0.5336 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.3594, allocations: 43.12 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.663e-05/0.3595, allocations: 30.45 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.3595, allocations: 8.375 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.3596, allocations: 48 kB / 0.5337 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.553e-05/0.3597, allocations: 24.61 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.3598, allocations: 44.05 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.36, allocations: 116.7 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.36, allocations: 3.938 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.36, allocations: 0 / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3601, allocations: 0 / 0.5339 GB, free: 10.7 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.0006305/0.3607, allocations: 437.8 kB / 0.5343 GB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3607, allocations: 12.66 kB / 0.5344 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.3608, allocations: 40.81 kB / 0.5344 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/0.3609, allocations: 10.5 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.3612, allocations: 222.9 kB / 0.5346 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.3612, allocations: 2.312 kB / 0.5346 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.3612, allocations: 5.875 kB / 0.5346 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.3614, allocations: 53.42 kB / 0.5347 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3614, allocations: 0 / 0.5347 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3615, allocations: 1.094 kB / 0.5347 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3615, allocations: 5.031 kB / 0.5347 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.903e-05/0.3616, allocations: 19.14 kB / 0.5347 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.362, allocations: 295.9 kB / 0.535 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.3622, allocations: 54.61 kB / 0.535 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.984e-05/0.3623, allocations: 21.34 kB / 0.5351 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.3623, allocations: 13.08 kB / 0.5351 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.3625, allocations: 65.98 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 5.009e-06/0.3625, allocations: 0 / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006491/0.3632, allocations: 187.4 kB / 0.5353 GB, free: 9.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3633, allocations: 52.78 kB / 0.5354 GB, free: 9.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.3635, allocations: 244 kB / 0.5356 GB, free: 9.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.3636, allocations: 31.08 kB / 0.5356 GB, free: 9.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.3637, allocations: 109.6 kB / 0.5357 GB, free: 8.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.3637, allocations: 19.84 kB / 0.5357 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.3638, allocations: 28.58 kB / 0.5358 GB, free: 8.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3639, allocations: 323 kB / 0.5361 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.676e-05/0.364, allocations: 22.98 kB / 0.5361 GB, free: 8.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.3641, allocations: 35.45 kB / 0.5361 GB, free: 8.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.3642, allocations: 58.47 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3642, allocations: 1.375 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002417/0.3644, allocations: 108 kB / 0.5363 GB, free: 8.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.3645, allocations: 5.5 kB / 0.5363 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3645, allocations: 0 / 0.5363 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3645, allocations: 1.156 kB / 0.5363 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.3646, allocations: 21.11 kB / 0.5363 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3646, allocations: 1.125 kB / 0.5363 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.3647, allocations: 14.12 kB / 0.5363 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.3647, allocations: 6.188 kB / 0.5363 GB, free: 8.434 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 (10): * Single equations (assignments): 10 * 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.0001549/0.3649, allocations: 126.8 kB / 0.5365 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.3649, allocations: 10.25 kB / 0.5365 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.267e-05/0.365, allocations: 19.81 kB / 0.5365 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.365, allocations: 1.125 kB / 0.5365 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.365, allocations: 3.984 kB / 0.5365 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3651, allocations: 5.031 kB / 0.5365 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005978/0.3657, allocations: 405.7 kB / 0.5369 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3657, allocations: 0 / 0.5369 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.3657, allocations: 11.95 kB / 0.5369 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/0.3657, allocations: 5.188 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.3658, allocations: 1.25 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3658, allocations: 1.5 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3658, allocations: 1.344 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.3661, allocations: 209.3 kB / 0.5371 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.3661, allocations: 87.27 kB / 0.5372 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.3662, allocations: 18.52 kB / 0.5372 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.3662, allocations: 1.25 kB / 0.5372 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.3663, allocations: 7.672 kB / 0.5372 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.3663, allocations: 7.172 kB / 0.5372 GB, free: 7.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.3665, allocations: 174.8 kB / 0.5374 GB, free: 7.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3665, allocations: 4.188 kB / 0.5374 GB, free: 7.461 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.3668, allocations: 28.77 kB / 0.5374 GB, free: 7.449 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 (8): * Single equations (assignments): 6 * 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.001547/0.3684, allocations: 1.08 MB / 0.5385 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.3686, allocations: 66.39 kB / 0.5385 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3686, allocations: 0 / 0.5385 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.577e-05/0.3687, allocations: 26.34 kB / 0.5386 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3691, allocations: 34.91 kB / 0.5386 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.3711, allocations: 1.758 MB / 0.5403 GB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.3715, allocations: 0.7133 MB / 0.541 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.466e-05/0.3715, allocations: 17.53 kB / 0.541 GB, free: 4.332 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.527e-05/0.3716, allocations: 39.17 kB / 0.5411 GB, free: 4.301 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3716, allocations: 1.156 kB / 0.5411 GB, free: 4.301 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.3923, allocations: 3.648 MB / 0.5446 GB, free: 2.348 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.116, allocations: 16.5 kB / 0.5446 GB, free: 2.336 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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),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[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.table[6,1],t_new.table[6,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time