Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001228/0.001233, allocations: 122.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.00131/0.00131, allocations: 202.1 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.36/1.36, 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.2132/0.2132, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 75.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3643, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002853/0.3672, allocations: 1.723 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00231/0.3695, allocations: 1.625 MB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.3696, allocations: 5.312 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.3699, allocations: 32.08 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.3702, allocations: 108.3 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.3705, allocations: 74.92 kB / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.3707, allocations: 102.4 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3708, allocations: 14.88 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.931e-05/0.3709, allocations: 49.64 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.3711, allocations: 50.83 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.3711, allocations: 4.125 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.3713, allocations: 107 kB / 0.5344 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.3714, allocations: 25.34 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/0.3714, allocations: 36.05 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.3717, allocations: 165.1 kB / 0.5346 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3717, allocations: 7.984 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3717, allocations: 0 / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.3717, allocations: 1.375 kB / 0.5346 GB, free: 10.27 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.0005623/0.3723, allocations: 425.2 kB / 0.535 GB, free: 9.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3723, allocations: 9.625 kB / 0.535 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.3724, allocations: 36.06 kB / 0.5351 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.3724, allocations: 10.34 kB / 0.5351 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.3727, allocations: 215.5 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.3727, allocations: 5.375 kB / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.3728, allocations: 10.73 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.3729, allocations: 66.61 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3729, allocations: 0 / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.373, allocations: 0 / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.373, allocations: 2.125 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.744e-05/0.373, allocations: 21.64 kB / 0.5354 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.3734, allocations: 284.8 kB / 0.5357 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.3736, allocations: 57.67 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.3736, allocations: 21.78 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3737, allocations: 1.719 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.3738, allocations: 73.08 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3738, allocations: 0 / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005209/0.3744, allocations: 169.5 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.3744, allocations: 90.08 kB / 0.5361 GB, free: 8.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.3746, allocations: 159.8 kB / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.3747, allocations: 26.83 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.3747, allocations: 103.6 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.3748, allocations: 24.27 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.3748, allocations: 24.5 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3749, allocations: 325.8 kB / 0.5367 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.678e-05/0.375, allocations: 19.14 kB / 0.5367 GB, free: 8.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.3751, allocations: 41.59 kB / 0.5367 GB, free: 8.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.3752, allocations: 63.45 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3752, allocations: 4.219 kB / 0.5368 GB, free: 8.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001826/0.3754, allocations: 98.53 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3754, allocations: 12.09 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3754, allocations: 0 / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3754, allocations: 1.094 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.3755, allocations: 25.48 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3756, allocations: 0.9062 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.3756, allocations: 2.156 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.3756, allocations: 3.125 kB / 0.5369 GB, free: 8.027 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.0001068/0.3757, allocations: 124.5 kB / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.3758, allocations: 13.25 kB / 0.5371 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.03e-05/0.3758, allocations: 16.44 kB / 0.5371 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3758, allocations: 4.906 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3758, allocations: 0 / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3758, allocations: 1.312 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.3763, allocations: 399.8 kB / 0.5375 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3763, allocations: 5.406 kB / 0.5375 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.3763, allocations: 14.34 kB / 0.5375 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3763, allocations: 1.094 kB / 0.5375 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.3763, allocations: 2.688 kB / 0.5375 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3763, allocations: 0 / 0.5375 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3764, allocations: 1.406 kB / 0.5375 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.3766, allocations: 200.2 kB / 0.5377 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.3767, allocations: 103.4 kB / 0.5378 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3767, allocations: 1.375 kB / 0.5378 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.3768, allocations: 6.531 kB / 0.5378 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.3768, allocations: 7.984 kB / 0.5378 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.3768, allocations: 3.438 kB / 0.5378 GB, free: 7.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.3769, allocations: 130.5 kB / 0.5379 GB, free: 7.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3769, allocations: 1.438 kB / 0.5379 GB, free: 7.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.3772, allocations: 46.02 kB / 0.538 GB, free: 7.062 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.001615/0.3789, allocations: 1.189 MB / 0.5391 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.3791, allocations: 66.42 kB / 0.5392 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3791, allocations: 1.125 kB / 0.5392 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.99e-05/0.3792, allocations: 28.84 kB / 0.5392 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.3795, allocations: 37.78 kB / 0.5393 GB, free: 6.098 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.3812, allocations: 1.582 MB / 0.5408 GB, free: 4.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.3815, allocations: 0.6995 MB / 0.5415 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.554e-05/0.3816, allocations: 19.64 kB / 0.5415 GB, free: 3.961 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.313e-05/0.3817, allocations: 33.77 kB / 0.5416 GB, free: 3.938 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3817, allocations: 0 / 0.5416 GB, free: 3.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.4056, allocations: 4.052 MB / 0.5455 GB, free: 1.688 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/7.961, allocations: 18.7 kB / 0.5455 GB, free: 1.672 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time