Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001216/0.001216, 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.001407/0.001408, 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.473/1.473, 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.2302/0.2302, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 84.09 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3912, allocations: 62.43 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003001/0.3943, allocations: 1.729 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.3968, allocations: 1.637 MB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.3969, allocations: 0 / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.3973, allocations: 38.45 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004356/0.3978, allocations: 102.5 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.398, allocations: 76.31 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.3983, allocations: 101 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3984, allocations: 18.86 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3985, allocations: 41.67 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.3987, allocations: 46.89 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.3987, allocations: 5.5 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.3989, allocations: 111 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.399, allocations: 20.05 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.297e-05/0.399, allocations: 36.03 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.3993, allocations: 165.1 kB / 0.5346 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.3994, allocations: 4 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3994, allocations: 5.312 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.361e-06/0.3994, allocations: 0 / 0.5346 GB, free: 10.3 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.0005905/0.4, allocations: 426.6 kB / 0.535 GB, free: 9.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4, allocations: 9.625 kB / 0.535 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.4001, allocations: 36.12 kB / 0.5351 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.4001, allocations: 8.969 kB / 0.5351 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.4004, allocations: 215.5 kB / 0.5353 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.4005, allocations: 5.375 kB / 0.5353 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.4005, allocations: 2.75 kB / 0.5353 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.4006, allocations: 70.45 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4007, allocations: 0 / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.4007, allocations: 0 / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4007, allocations: 1.375 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.508e-05/0.4008, allocations: 18.98 kB / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.4012, allocations: 296.6 kB / 0.5357 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.4014, allocations: 53.94 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.4014, allocations: 26.56 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.4014, allocations: 0 / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.4016, allocations: 73.86 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.146e-06/0.4016, allocations: 0 / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005801/0.4022, allocations: 177 kB / 0.536 GB, free: 8.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.4023, allocations: 83.11 kB / 0.5361 GB, free: 8.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.4025, allocations: 162.7 kB / 0.5362 GB, free: 8.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.4025, allocations: 30.83 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/0.4026, allocations: 99.56 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.4026, allocations: 20.47 kB / 0.5364 GB, free: 8.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.4027, allocations: 32.42 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4028, allocations: 317.1 kB / 0.5367 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.4029, allocations: 19.02 kB / 0.5367 GB, free: 8.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.403, allocations: 49.22 kB / 0.5368 GB, free: 8.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.4031, allocations: 55.27 kB / 0.5368 GB, free: 8.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4031, allocations: 0 / 0.5368 GB, free: 8.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.4033, allocations: 111.5 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4033, allocations: 5.469 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4034, allocations: 1.156 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4034, allocations: 1.125 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.828e-05/0.4035, allocations: 20.61 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.4035, allocations: 1.125 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.4035, allocations: 2.375 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.4036, allocations: 2.188 kB / 0.5369 GB, free: 8.059 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.0001094/0.4037, allocations: 137.2 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.4037, allocations: 12.97 kB / 0.5371 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.4037, allocations: 11.62 kB / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4038, allocations: 5.875 kB / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4038, allocations: 0 / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.4038, allocations: 3.984 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.4043, allocations: 393.2 kB / 0.5375 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4043, allocations: 3.938 kB / 0.5375 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.049e-05/0.4043, allocations: 11.59 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4043, allocations: 1.375 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4043, allocations: 1.562 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4043, allocations: 1.844 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4043, allocations: 0 / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.4046, allocations: 208.1 kB / 0.5377 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.4046, allocations: 88.67 kB / 0.5378 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.4047, allocations: 13.09 kB / 0.5378 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.4048, allocations: 6.844 kB / 0.5378 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.4048, allocations: 7.266 kB / 0.5378 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.4048, allocations: 3.875 kB / 0.5378 GB, free: 7.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.4049, allocations: 127.2 kB / 0.5379 GB, free: 7.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4049, allocations: 0 / 0.5379 GB, free: 7.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003244/0.4053, allocations: 50.67 kB / 0.538 GB, free: 7.09 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.001739/0.407, allocations: 1.185 MB / 0.5391 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.4072, allocations: 62.47 kB / 0.5392 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4073, allocations: 1.062 kB / 0.5392 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/0.4073, allocations: 28.7 kB / 0.5392 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.4077, allocations: 26.05 kB / 0.5393 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.4095, allocations: 1.583 MB / 0.5408 GB, free: 4.723 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.4098, allocations: 0.6994 MB / 0.5415 GB, free: 4.016 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.472e-05/0.4099, allocations: 23.7 kB / 0.5415 GB, free: 4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.41, allocations: 37.39 kB / 0.5415 GB, free: 3.973 MB / 398.1 MB Notification: Performance of SimCode: time 3.206e-06/0.41, allocations: 0.9375 kB / 0.5415 GB, free: 3.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.4354, allocations: 4.058 MB / 0.5455 GB, free: 1.715 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.262, allocations: 9.484 kB / 0.5455 GB, free: 1.711 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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