Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.00141/0.00141, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001713/0.001713, allocations: 197.2 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.394/1.394, 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.2163/0.2163, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3777, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003161/0.3809, allocations: 1.626 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.382, allocations: 0.5468 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.3821, allocations: 1.469 kB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.3824, allocations: 80.58 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.3827, allocations: 99.39 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.383, allocations: 117.4 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.3832, allocations: 88.67 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.961e-05/0.3833, allocations: 16.61 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.11e-05/0.3834, allocations: 28.02 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3835, allocations: 56.19 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.3835, allocations: 4.125 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.081e-05/0.3836, allocations: 52.84 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.3837, allocations: 20.17 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.3837, allocations: 33.19 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.3839, allocations: 112.4 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3839, allocations: 0 / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3839, allocations: 1.375 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3839, allocations: 0 / 0.5333 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.0004783/0.3844, allocations: 411.8 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.3845, allocations: 9.625 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.3845, allocations: 40.12 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.3845, allocations: 8.969 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.3847, allocations: 209.1 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.3848, allocations: 1.75 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.3848, allocations: 10.97 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.3849, allocations: 57.98 kB / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3849, allocations: 1.375 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.385, allocations: 0 / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.385, allocations: 5.312 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.207e-05/0.3851, allocations: 27.11 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.3855, allocations: 304.4 kB / 0.5344 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.3857, allocations: 40.44 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.689e-05/0.3858, allocations: 21.19 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.3858, allocations: 0 / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.3858, allocations: 35.94 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3858, allocations: 0 / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001144/0.387, allocations: 243.2 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.3871, allocations: 60.69 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.3874, allocations: 218.6 kB / 0.535 GB, free: 9.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3874, allocations: 25.7 kB / 0.535 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.261e-05/0.3875, allocations: 101.6 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.3875, allocations: 26.66 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/0.3876, allocations: 24.08 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3877, allocations: 326.8 kB / 0.5354 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.3879, allocations: 24.95 kB / 0.5355 GB, free: 9.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.553e-05/0.3879, allocations: 37.03 kB / 0.5355 GB, free: 9.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.3881, allocations: 74.05 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3881, allocations: 0 / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002269/0.3884, allocations: 116.7 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3884, allocations: 8.938 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3884, allocations: 1.219 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3884, allocations: 4 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.981e-05/0.3885, allocations: 17.73 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3885, allocations: 5.031 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.439e-05/0.3886, allocations: 3.375 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/0.3886, allocations: 6.359 kB / 0.5357 GB, free: 9.105 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 8.637e-05/0.3887, allocations: 128.1 kB / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.3887, allocations: 17.59 kB / 0.5359 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.389, allocations: 134.9 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.389, allocations: 3.938 kB / 0.536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3891, allocations: 5.281 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3891, allocations: 0 / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005461/0.3896, allocations: 418.8 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3896, allocations: 1.375 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.562e-05/0.3897, allocations: 21.67 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3897, allocations: 5.406 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.3897, allocations: 5.312 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3898, allocations: 1.375 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3898, allocations: 0 / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.39, allocations: 216.7 kB / 0.5366 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.3901, allocations: 87.73 kB / 0.5367 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.3901, allocations: 5.438 kB / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.3902, allocations: 7.75 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.3902, allocations: 7.859 kB / 0.5368 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.3902, allocations: 1.312 kB / 0.5368 GB, free: 8.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.3904, allocations: 164.3 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3904, allocations: 0 / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.3907, allocations: 22.16 kB / 0.5369 GB, free: 8.043 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.001495/0.3922, allocations: 1.11 MB / 0.538 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.3924, allocations: 75.31 kB / 0.5381 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3924, allocations: 1.531 kB / 0.5381 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.708e-05/0.3925, allocations: 42.75 kB / 0.5381 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3929, allocations: 21.03 kB / 0.5381 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.3949, allocations: 1.705 MB / 0.5398 GB, free: 5.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.3952, allocations: 0.7051 MB / 0.5405 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.479e-05/0.3953, allocations: 28.69 kB / 0.5405 GB, free: 4.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.3954, allocations: 37.23 kB / 0.5406 GB, free: 4.906 MB / 398.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3954, allocations: 0 / 0.5406 GB, free: 4.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.4156, allocations: 3.176 MB / 0.5437 GB, free: 3.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.198, allocations: 5.125 kB / 0.5437 GB, free: 3.168 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.nHeaderLines,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[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time