Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001412/0.001412, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001606/0.001606, allocations: 204.6 kB / 18.74 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.454/1.454, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 84.14 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3858, allocations: 62.44 MB / 0.5305 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003473/0.3893, allocations: 1.619 MB / 0.5321 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3904, allocations: 0.5438 MB / 0.5326 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.3905, allocations: 5.312 kB / 0.5327 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.3907, allocations: 94.05 kB / 0.5327 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.3911, allocations: 114.2 kB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.3914, allocations: 114.4 kB / 0.533 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.3915, allocations: 84.88 kB / 0.533 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3917, allocations: 25.61 kB / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.474e-05/0.3917, allocations: 32.41 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.3918, allocations: 56.69 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.3918, allocations: 2.75 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.664e-05/0.3919, allocations: 48.8 kB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.392, allocations: 25.48 kB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.3921, allocations: 41.05 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.3923, allocations: 110.5 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3923, allocations: 0 / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3923, allocations: 3.938 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.3923, allocations: 1.062 kB / 0.5334 GB, free: 11.19 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.0006447/0.393, allocations: 417.8 kB / 0.5338 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.393, allocations: 8.375 kB / 0.5338 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.613e-05/0.3931, allocations: 36.03 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.3931, allocations: 18.41 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.3934, allocations: 201.1 kB / 0.534 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3934, allocations: 1.781 kB / 0.534 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.3935, allocations: 6.703 kB / 0.534 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.3936, allocations: 62.44 kB / 0.5341 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3937, allocations: 1.281 kB / 0.5341 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.3937, allocations: 0 / 0.5341 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3937, allocations: 1.312 kB / 0.5341 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3938, allocations: 27.31 kB / 0.5341 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.3943, allocations: 317.4 kB / 0.5344 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.3945, allocations: 44.25 kB / 0.5345 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.421e-05/0.3946, allocations: 17.03 kB / 0.5345 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.3946, allocations: 5.156 kB / 0.5345 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.3946, allocations: 31.78 kB / 0.5345 GB, free: 9.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.3946, allocations: 7.938 kB / 0.5345 GB, free: 9.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00106/0.3957, allocations: 234.4 kB / 0.5347 GB, free: 9.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3958, allocations: 60.34 kB / 0.5348 GB, free: 9.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.396, allocations: 230.7 kB / 0.535 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.3961, allocations: 29.7 kB / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.3961, allocations: 111.4 kB / 0.5352 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.3962, allocations: 22.47 kB / 0.5352 GB, free: 9.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.3962, allocations: 23.83 kB / 0.5352 GB, free: 9.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3963, allocations: 326.9 kB / 0.5355 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.3964, allocations: 24.08 kB / 0.5355 GB, free: 9.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.383e-05/0.3965, allocations: 33.84 kB / 0.5356 GB, free: 9.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.3967, allocations: 76.56 kB / 0.5356 GB, free: 9.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3967, allocations: 1.375 kB / 0.5356 GB, free: 9.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002165/0.3969, allocations: 108.2 kB / 0.5358 GB, free: 8.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.397, allocations: 5.5 kB / 0.5358 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.397, allocations: 1.375 kB / 0.5358 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.397, allocations: 0 / 0.5358 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.3971, allocations: 21.73 kB / 0.5358 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.3971, allocations: 9.625 kB / 0.5358 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.3972, allocations: 10.59 kB / 0.5358 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.3972, allocations: 2.75 kB / 0.5358 GB, free: 8.973 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.68e-05/0.3973, allocations: 130.2 kB / 0.5359 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.3973, allocations: 9.406 kB / 0.5359 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.3976, allocations: 146.4 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3976, allocations: 1.062 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3976, allocations: 9.125 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3977, allocations: 0 / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.3982, allocations: 425.2 kB / 0.5365 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3982, allocations: 432 / 0.5365 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.591e-05/0.3983, allocations: 21.98 kB / 0.5365 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.3983, allocations: 1.25 kB / 0.5365 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.3983, allocations: 1.094 kB / 0.5365 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3983, allocations: 9.203 kB / 0.5365 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3984, allocations: 1.344 kB / 0.5365 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.3986, allocations: 208.9 kB / 0.5367 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.3987, allocations: 96.03 kB / 0.5368 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.3987, allocations: 5.125 kB / 0.5368 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.689e-05/0.3988, allocations: 15.67 kB / 0.5368 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.3988, allocations: 2.625 kB / 0.5368 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.3988, allocations: 2.781 kB / 0.5368 GB, free: 8.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.399, allocations: 183.1 kB / 0.537 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.399, allocations: 0 / 0.537 GB, free: 7.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.3993, allocations: 18.94 kB / 0.537 GB, free: 7.891 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.001498/0.4008, allocations: 1.092 MB / 0.5381 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.401, allocations: 87.3 kB / 0.5382 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4011, allocations: 1.125 kB / 0.5382 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.4012, allocations: 39.06 kB / 0.5382 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.4015, allocations: 20.23 kB / 0.5382 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.4034, allocations: 1.746 MB / 0.5399 GB, free: 5.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.4037, allocations: 0.7171 MB / 0.5406 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.761e-05/0.4038, allocations: 16.22 kB / 0.5407 GB, free: 4.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.4039, allocations: 41.48 kB / 0.5407 GB, free: 4.742 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4039, allocations: 1.125 kB / 0.5407 GB, free: 4.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.4258, allocations: 3.256 MB / 0.5439 GB, free: 2.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/7.909, allocations: 12.97 kB / 0.5439 GB, free: 2.961 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time