Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001209, allocations: 117.7 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, 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.2135/0.2135, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002925/0.002925, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3789, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003706/0.3827, allocations: 1.69 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.3846, allocations: 1.003 MB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.3848, allocations: 0 / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004362/0.3853, allocations: 64.48 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005285/0.3858, allocations: 108.8 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.3862, allocations: 65.62 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.3864, allocations: 106.3 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.822e-05/0.3865, allocations: 9.719 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.3867, allocations: 54.95 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.3868, allocations: 44.47 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.3868, allocations: 4.125 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.387, allocations: 32.61 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.605e-05/0.3871, allocations: 17.42 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.3871, allocations: 35.98 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.3874, allocations: 103.1 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3874, allocations: 1.375 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3874, allocations: 3.938 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3874, allocations: 0 / 0.5338 GB, free: 10.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006142/0.388, allocations: 415.7 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3881, allocations: 8.25 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.3881, allocations: 32.12 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.3882, allocations: 10.34 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.3885, allocations: 211.8 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.3886, allocations: 5.719 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.3886, allocations: 5.281 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.3887, allocations: 52.22 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3888, allocations: 3.938 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.3888, allocations: 7.938 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3888, allocations: 1.281 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.348e-05/0.3889, allocations: 15.05 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.3891, allocations: 183.4 kB / 0.5347 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.3893, allocations: 54.98 kB / 0.5348 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/0.3893, allocations: 17.73 kB / 0.5348 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3894, allocations: 9.297 kB / 0.5348 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.3895, allocations: 68.3 kB / 0.5349 GB, free: 9.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.3895, allocations: 0 / 0.5349 GB, free: 9.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003135/0.3899, allocations: 91.73 kB / 0.535 GB, free: 9.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.3899, allocations: 51.41 kB / 0.535 GB, free: 9.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.3901, allocations: 196.2 kB / 0.5352 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3902, allocations: 26.77 kB / 0.5352 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.3902, allocations: 104.6 kB / 0.5353 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.3903, allocations: 23.06 kB / 0.5354 GB, free: 9.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.3904, allocations: 18.22 kB / 0.5354 GB, free: 9.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3905, allocations: 322.1 kB / 0.5357 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-05/0.3906, allocations: 20.2 kB / 0.5357 GB, free: 9.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.3906, allocations: 26.95 kB / 0.5357 GB, free: 8.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.3908, allocations: 43.25 kB / 0.5358 GB, free: 8.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3908, allocations: 5.344 kB / 0.5358 GB, free: 8.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001871/0.391, allocations: 87.08 kB / 0.5359 GB, free: 8.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.391, allocations: 5.844 kB / 0.5359 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.391, allocations: 160 / 0.5359 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.391, allocations: 5.375 kB / 0.5359 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.3911, allocations: 13.28 kB / 0.5359 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.3911, allocations: 3.984 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.41e-05/0.3912, allocations: 6.438 kB / 0.5359 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3912, allocations: 2.406 kB / 0.5359 GB, free: 8.867 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 (7): * Single equations (assignments): 7 * 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.0001271/0.3913, allocations: 132.6 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.3914, allocations: 12.44 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.3914, allocations: 17.52 kB / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3914, allocations: 1.125 kB / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.3914, allocations: 1.156 kB / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3915, allocations: 0 / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.3916, allocations: 184.7 kB / 0.5362 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3916, allocations: 5.094 kB / 0.5362 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.3917, allocations: 7.047 kB / 0.5362 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3917, allocations: 0 / 0.5362 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.3917, allocations: 1.844 kB / 0.5362 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3917, allocations: 0 / 0.5362 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3917, allocations: 0.875 kB / 0.5362 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.3919, allocations: 114.2 kB / 0.5364 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.392, allocations: 87.58 kB / 0.5364 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.392, allocations: 4 kB / 0.5364 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.641e-05/0.3921, allocations: 2.406 kB / 0.5364 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.3921, allocations: 13.42 kB / 0.5365 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.3921, allocations: 2.719 kB / 0.5365 GB, free: 8.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.3923, allocations: 143.8 kB / 0.5366 GB, free: 8.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3923, allocations: 1.094 kB / 0.5366 GB, free: 8.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.3925, allocations: 21.31 kB / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001377/0.3939, allocations: 0.9503 MB / 0.5375 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.3941, allocations: 44.23 kB / 0.5376 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3941, allocations: 0 / 0.5376 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.512e-05/0.3942, allocations: 20.3 kB / 0.5376 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.3945, allocations: 24.73 kB / 0.5376 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.3962, allocations: 1.5 MB / 0.5391 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.3965, allocations: 0.7046 MB / 0.5398 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.99e-05/0.3966, allocations: 8.406 kB / 0.5398 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/0.3966, allocations: 29.05 kB / 0.5398 GB, free: 5.316 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3966, allocations: 0 / 0.5398 GB, free: 5.316 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.4187, allocations: 3.192 MB / 0.5429 GB, free: 3.566 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/7.982, allocations: 9.141 kB / 0.5429 GB, free: 3.559 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result: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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time