Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001452/0.001452, allocations: 118.8 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.001112/0.001112, allocations: 202 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.395/1.395, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 79.81 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.376, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002966/0.379, allocations: 1.612 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009692/0.38, allocations: 0.5363 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.3801, allocations: 3.594 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.3804, allocations: 72.42 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.3807, allocations: 108.4 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.3809, allocations: 94.69 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.3811, allocations: 84.62 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3812, allocations: 11.75 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.922e-05/0.3813, allocations: 39.92 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.3814, allocations: 60.09 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3814, allocations: 2.719 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.692e-05/0.3815, allocations: 45.89 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.3816, allocations: 19.98 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.3816, allocations: 33.05 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.3818, allocations: 111.4 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3818, allocations: 0 / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3818, allocations: 5.281 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3818, allocations: 0 / 0.5333 GB, free: 11.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004733/0.3823, allocations: 420 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3823, allocations: 8.875 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.3824, allocations: 35.78 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.3824, allocations: 14.36 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.3826, allocations: 196.5 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.3826, allocations: 5.453 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.3827, allocations: 11.17 kB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.3828, allocations: 54.06 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3828, allocations: 0 / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.3828, allocations: 9.188 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3829, allocations: 5.312 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.428e-05/0.3829, allocations: 30.64 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.3833, allocations: 291.5 kB / 0.5343 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.3834, allocations: 46.38 kB / 0.5344 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.3835, allocations: 20.12 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.3835, allocations: 5.219 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3836, allocations: 31.88 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3836, allocations: 0 / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009155/0.3845, allocations: 225.5 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.3845, allocations: 52.56 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.3848, allocations: 215 kB / 0.5349 GB, free: 9.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.3848, allocations: 25.7 kB / 0.5349 GB, free: 9.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.3848, allocations: 105.6 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.3849, allocations: 31.75 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.3849, allocations: 19.22 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.385, allocations: 323 kB / 0.5354 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.3851, allocations: 33.72 kB / 0.5354 GB, free: 9.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.711e-05/0.3852, allocations: 21.73 kB / 0.5354 GB, free: 9.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.3854, allocations: 68.61 kB / 0.5355 GB, free: 9.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3854, allocations: 0 / 0.5355 GB, free: 9.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000201/0.3856, allocations: 96.2 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3856, allocations: 5.5 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3856, allocations: 4 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3856, allocations: 1.375 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.627e-05/0.3857, allocations: 17.73 kB / 0.5356 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3857, allocations: 3.938 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.3858, allocations: 8.109 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.3858, allocations: 1.375 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.081e-05/0.3859, allocations: 132.8 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.3859, allocations: 13.31 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.3862, allocations: 126.9 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3862, allocations: 1.375 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.3862, allocations: 5.312 kB / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3863, allocations: 432 / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.3868, allocations: 398.8 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3868, allocations: 1.094 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-05/0.3869, allocations: 29.73 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3869, allocations: 0 / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.3869, allocations: 2.062 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3869, allocations: 1.094 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3869, allocations: 0 / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.3872, allocations: 216.7 kB / 0.5365 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.3872, allocations: 91.98 kB / 0.5366 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.3873, allocations: 1.156 kB / 0.5366 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.3873, allocations: 7.641 kB / 0.5366 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.3874, allocations: 7.094 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3874, allocations: 2.594 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.3875, allocations: 171.6 kB / 0.5368 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3875, allocations: 0 / 0.5368 GB, free: 8.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3878, allocations: 18 kB / 0.5368 GB, free: 8.121 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.00147/0.3893, allocations: 1.091 MB / 0.5379 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.3895, allocations: 66.98 kB / 0.5379 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3895, allocations: 0 / 0.5379 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.193e-05/0.3896, allocations: 33.05 kB / 0.538 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.39, allocations: 24.05 kB / 0.538 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.3918, allocations: 1.658 MB / 0.5396 GB, free: 5.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.3921, allocations: 0.7065 MB / 0.5403 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.828e-05/0.3921, allocations: 20.67 kB / 0.5403 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.3922, allocations: 33.23 kB / 0.5404 GB, free: 5.031 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3922, allocations: 1.25 kB / 0.5404 GB, free: 5.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.4119, allocations: 3.111 MB / 0.5434 GB, free: 3.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/8.025, allocations: 5.125 kB / 0.5434 GB, free: 3.324 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.smoothness,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.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time