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.001511/0.001511, allocations: 118.8 kB / 17.79 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.001843/0.001843, allocations: 201.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.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2513/0.2513, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 76.16 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3821, allocations: 62.43 MB / 0.5306 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003346/0.3855, allocations: 1.705 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.3873, allocations: 0.9942 MB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.3874, allocations: 3.938 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.3877, allocations: 63.84 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.3881, allocations: 106 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.3883, allocations: 69.56 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.3885, allocations: 106.6 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.774e-05/0.3886, allocations: 4.766 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.3887, allocations: 47.69 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.3888, allocations: 52.34 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.3888, allocations: 3.5 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.182e-05/0.3889, allocations: 32.53 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.713e-05/0.389, allocations: 17.92 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.3891, allocations: 44.88 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.3893, allocations: 98.84 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3893, allocations: 0 / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3893, allocations: 0 / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.3893, allocations: 0 / 0.5338 GB, free: 10.93 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.0005689/0.3899, allocations: 419.6 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3899, allocations: 9.625 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.3899, allocations: 36.12 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.39, allocations: 8.969 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.3903, allocations: 207.9 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.3903, allocations: 1.75 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.3903, allocations: 13.23 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.3905, allocations: 52.67 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3905, allocations: 0 / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.3905, allocations: 0 / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3905, allocations: 5.375 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.48e-05/0.3906, allocations: 10.86 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.3908, allocations: 187.3 kB / 0.5347 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.391, allocations: 55.06 kB / 0.5348 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.391, allocations: 21.09 kB / 0.5348 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.3911, allocations: 5.375 kB / 0.5348 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.3912, allocations: 67.77 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.3912, allocations: 1.375 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002729/0.3915, allocations: 90.7 kB / 0.535 GB, free: 9.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.3916, allocations: 60.7 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.3918, allocations: 192.1 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3918, allocations: 27.08 kB / 0.5352 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.3919, allocations: 104.3 kB / 0.5353 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.3919, allocations: 26.47 kB / 0.5354 GB, free: 9.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.3919, allocations: 19.22 kB / 0.5354 GB, free: 9.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3921, allocations: 325.6 kB / 0.5357 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.068e-05/0.3922, allocations: 12.25 kB / 0.5357 GB, free: 9.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.998e-05/0.3922, allocations: 27.33 kB / 0.5357 GB, free: 9.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.3923, allocations: 47.58 kB / 0.5358 GB, free: 8.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3923, allocations: 3.938 kB / 0.5358 GB, free: 8.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001626/0.3925, allocations: 79.78 kB / 0.5359 GB, free: 8.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3925, allocations: 5.5 kB / 0.5359 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3925, allocations: 0 / 0.5359 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3926, allocations: 5.312 kB / 0.5359 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.891e-05/0.3927, allocations: 12.23 kB / 0.5359 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3927, allocations: 1.375 kB / 0.5359 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.3927, allocations: 10.72 kB / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.3927, allocations: 1.375 kB / 0.5359 GB, free: 8.906 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.0001014/0.3928, allocations: 131.1 kB / 0.536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.3929, allocations: 12.41 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.3929, allocations: 13.5 kB / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3929, allocations: 1.281 kB / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3929, allocations: 3.938 kB / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3929, allocations: 5.391 kB / 0.536 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.3931, allocations: 184.1 kB / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3931, allocations: 1.156 kB / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.912e-05/0.3931, allocations: 6.562 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3932, allocations: 1.25 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3932, allocations: 1.062 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.3932, allocations: 8.766 kB / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3932, allocations: 0 / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.3934, allocations: 110.6 kB / 0.5363 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.3935, allocations: 90.47 kB / 0.5364 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.3935, allocations: 5.188 kB / 0.5364 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.356e-05/0.3935, allocations: 2.5 kB / 0.5364 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.3936, allocations: 5.891 kB / 0.5364 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.3936, allocations: 5.953 kB / 0.5365 GB, free: 8.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.3937, allocations: 145.1 kB / 0.5366 GB, free: 8.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3937, allocations: 0 / 0.5366 GB, free: 8.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002138/0.394, allocations: 24.98 kB / 0.5366 GB, free: 8.199 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.001278/0.3952, allocations: 0.9453 MB / 0.5375 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.3954, allocations: 39.08 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3954, allocations: 1.125 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.108e-05/0.3955, allocations: 23.39 kB / 0.5376 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.3958, allocations: 32.5 kB / 0.5376 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.3973, allocations: 1.496 MB / 0.5391 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.3976, allocations: 0.7004 MB / 0.5398 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.08e-05/0.3977, allocations: 16.34 kB / 0.5398 GB, free: 5.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.3978, allocations: 37.64 kB / 0.5398 GB, free: 5.348 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3978, allocations: 0 / 0.5398 GB, free: 5.348 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.4166, allocations: 3.183 MB / 0.5429 GB, free: 3.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/8.095, allocations: 9.078 kB / 0.5429 GB, free: 3.594 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