Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001573/0.001573, 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.001956/0.001957, allocations: 197.2 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.398/1.398, 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.2067/0.2067, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002803, allocations: 80.09 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.378, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002716/0.3808, allocations: 1.609 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009347/0.3817, allocations: 0.5372 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.046e-05/0.3818, allocations: 1.094 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.3821, allocations: 110.6 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.3824, allocations: 118.4 kB / 0.5329 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.3827, allocations: 99 kB / 0.533 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.3828, allocations: 92.7 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.49e-05/0.3829, allocations: 11.94 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.981e-05/0.383, allocations: 43.41 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.3831, allocations: 68.12 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.3831, allocations: 7.5 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.3832, allocations: 41.42 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.186e-05/0.3833, allocations: 32.73 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.3833, allocations: 35.14 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.3835, allocations: 119.6 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3835, allocations: 0 / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3835, allocations: 0 / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.3836, allocations: 0 / 0.5334 GB, free: 11.31 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.000462/0.384, allocations: 431.7 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3841, allocations: 9.625 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.327e-05/0.3841, allocations: 40.12 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.3841, allocations: 10.34 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.3843, allocations: 210 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.3843, allocations: 5.734 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.3844, allocations: 3.125 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.3845, allocations: 57.98 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3845, allocations: 1.375 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.3845, allocations: 3.938 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3846, allocations: 1.375 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.067e-05/0.3846, allocations: 31.09 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.385, allocations: 297.6 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.3851, allocations: 43 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.3852, allocations: 19.81 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.3852, allocations: 1.375 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.3852, allocations: 35.94 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3852, allocations: 0 / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008227/0.3861, allocations: 230.9 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.3861, allocations: 56.78 kB / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.3863, allocations: 261.5 kB / 0.5351 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.3864, allocations: 27.05 kB / 0.5351 GB, free: 9.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.3864, allocations: 115.5 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.3865, allocations: 22.7 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.3865, allocations: 23.16 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3867, allocations: 323.2 kB / 0.5355 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.3868, allocations: 21.23 kB / 0.5356 GB, free: 9.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-05/0.3869, allocations: 35.31 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.387, allocations: 59.62 kB / 0.5357 GB, free: 9.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.387, allocations: 3.938 kB / 0.5357 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002094/0.3872, allocations: 101.1 kB / 0.5358 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3873, allocations: 5.406 kB / 0.5358 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3873, allocations: 4 kB / 0.5358 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3873, allocations: 5.188 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3874, allocations: 21.11 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3874, allocations: 5.125 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.3875, allocations: 7.438 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3875, allocations: 5.688 kB / 0.5358 GB, free: 9.086 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 0.0001239/0.3876, allocations: 132.2 kB / 0.5359 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.3877, allocations: 17.42 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.3879, allocations: 121.8 kB / 0.5361 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.388, allocations: 5.078 kB / 0.5361 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.388, allocations: 3.938 kB / 0.5361 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.388, allocations: 0.75 kB / 0.5361 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.3885, allocations: 410.3 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3885, allocations: 0 / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.3886, allocations: 25.67 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3886, allocations: 5.219 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3886, allocations: 6.344 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3886, allocations: 0 / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3886, allocations: 1.094 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.3889, allocations: 200.9 kB / 0.5367 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.3889, allocations: 96.27 kB / 0.5368 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.389, allocations: 5.297 kB / 0.5368 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.3891, allocations: 8.062 kB / 0.5368 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.3891, allocations: 6.281 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.3891, allocations: 6.734 kB / 0.5368 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.3893, allocations: 189.3 kB / 0.537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3893, allocations: 0 / 0.537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.3895, allocations: 18.47 kB / 0.537 GB, free: 8.027 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.001383/0.3909, allocations: 1.085 MB / 0.5381 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.3912, allocations: 71.34 kB / 0.5381 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3912, allocations: 0 / 0.5381 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.3913, allocations: 38.05 kB / 0.5382 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.3916, allocations: 28.25 kB / 0.5382 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.3935, allocations: 1.757 MB / 0.5399 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.3938, allocations: 0.7111 MB / 0.5406 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.514e-05/0.3938, allocations: 19.67 kB / 0.5406 GB, free: 4.906 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.3939, allocations: 37.58 kB / 0.5407 GB, free: 4.875 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3939, allocations: 3.938 kB / 0.5407 GB, free: 4.871 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.4137, allocations: 3.281 MB / 0.5439 GB, free: 3.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.934, allocations: 8.688 kB / 0.5439 GB, free: 3.086 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time