Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.00143, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2099/0.2099, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 79.81 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3844, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003695/0.3881, allocations: 1.76 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.3899, allocations: 1.019 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.39, allocations: 9.5 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.3904, allocations: 92.59 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.3908, allocations: 116.8 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.391, allocations: 84.28 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.3912, allocations: 120 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3913, allocations: 14.81 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.3915, allocations: 56.52 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.3916, allocations: 71.38 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.3916, allocations: 4.125 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.3917, allocations: 59.84 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.3918, allocations: 28.11 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.3919, allocations: 37.17 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.3921, allocations: 137.6 kB / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3921, allocations: 4 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.3921, allocations: 1.312 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.3922, allocations: 3.938 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005908/0.3927, allocations: 446.5 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3928, allocations: 8.875 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.3928, allocations: 32.03 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.3929, allocations: 14.75 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.3932, allocations: 220.3 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3932, allocations: 1.625 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.3933, allocations: 15.17 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3934, allocations: 60.78 kB / 0.5349 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.3935, allocations: 7.906 kB / 0.5349 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3935, allocations: 5.094 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.3935, allocations: 0.8125 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.305e-05/0.3936, allocations: 20.48 kB / 0.5349 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.394, allocations: 301.7 kB / 0.5352 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.3943, allocations: 57.27 kB / 0.5353 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.444e-05/0.3943, allocations: 30.72 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.3944, allocations: 1.125 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.3945, allocations: 74.22 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.3945, allocations: 0 / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000795/0.3954, allocations: 242.8 kB / 0.5356 GB, free: 9.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.3954, allocations: 61.61 kB / 0.5357 GB, free: 9.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.3957, allocations: 240 kB / 0.5359 GB, free: 9.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.3957, allocations: 27.08 kB / 0.5359 GB, free: 9.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.3958, allocations: 113.6 kB / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.3958, allocations: 33.05 kB / 0.536 GB, free: 8.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.3958, allocations: 31.34 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.396, allocations: 323 kB / 0.5364 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.148e-05/0.3961, allocations: 31.11 kB / 0.5364 GB, free: 8.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.225e-05/0.3961, allocations: 55.52 kB / 0.5365 GB, free: 8.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.3963, allocations: 81.5 kB / 0.5365 GB, free: 8.492 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3963, allocations: 0 / 0.5365 GB, free: 8.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002398/0.3965, allocations: 129.8 kB / 0.5367 GB, free: 8.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3966, allocations: 4.844 kB / 0.5367 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3966, allocations: 1.125 kB / 0.5367 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3966, allocations: 1.062 kB / 0.5367 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.143e-05/0.3967, allocations: 33.23 kB / 0.5367 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3967, allocations: 1.25 kB / 0.5367 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.3968, allocations: 1.969 kB / 0.5367 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3968, allocations: 3.344 kB / 0.5367 GB, free: 8.398 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.0001225/0.3969, allocations: 134.7 kB / 0.5368 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.397, allocations: 15.22 kB / 0.5369 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/0.397, allocations: 24.11 kB / 0.5369 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.397, allocations: 6.062 kB / 0.5369 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3971, allocations: 0 / 0.5369 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3971, allocations: 4 kB / 0.5369 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005955/0.3977, allocations: 463.7 kB / 0.5373 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3977, allocations: 0 / 0.5373 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.3977, allocations: 12.56 kB / 0.5373 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3977, allocations: 1.375 kB / 0.5373 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.3978, allocations: 6.453 kB / 0.5373 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3978, allocations: 1.188 kB / 0.5374 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3978, allocations: 5.25 kB / 0.5374 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.3981, allocations: 233.9 kB / 0.5376 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.3981, allocations: 93.16 kB / 0.5377 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.3981, allocations: 2.469 kB / 0.5377 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.3982, allocations: 2.656 kB / 0.5377 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.3983, allocations: 15.73 kB / 0.5377 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.3983, allocations: 5.125 kB / 0.5377 GB, free: 7.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.3985, allocations: 177.3 kB / 0.5379 GB, free: 7.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3985, allocations: 0 / 0.5379 GB, free: 7.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.3987, allocations: 28.59 kB / 0.5379 GB, free: 7.355 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.001576/0.4003, allocations: 1.176 MB / 0.539 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.4005, allocations: 85.78 kB / 0.5391 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4006, allocations: 0 / 0.5391 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.527e-05/0.4007, allocations: 39.8 kB / 0.5392 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.401, allocations: 37.41 kB / 0.5392 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.403, allocations: 1.843 MB / 0.541 GB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.4033, allocations: 0.7164 MB / 0.5417 GB, free: 4.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.514e-05/0.4034, allocations: 20.03 kB / 0.5417 GB, free: 4.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.402e-05/0.4035, allocations: 45.61 kB / 0.5418 GB, free: 4.078 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4035, allocations: 0 / 0.5418 GB, free: 4.078 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.4255, allocations: 3.982 MB / 0.5456 GB, free: 1.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.963, allocations: 15.66 kB / 0.5457 GB, free: 1.949 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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[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