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.001614/0.001614, allocations: 118.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.002103/0.002103, 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.394/1.394, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 75.88 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3368, allocations: 62.43 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002746/0.3396, allocations: 1.626 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000954/0.3406, allocations: 0.5473 MB / 0.5327 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.3406, allocations: 1.719 kB / 0.5327 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.3409, allocations: 93.34 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.3412, allocations: 118.4 kB / 0.5329 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.3415, allocations: 111 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.3416, allocations: 84.28 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.3417, allocations: 22.17 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.404e-05/0.3418, allocations: 33.12 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.3419, allocations: 59.47 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.3419, allocations: 3.312 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-05/0.342, allocations: 44.17 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.3421, allocations: 25.48 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.3421, allocations: 37.17 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.3423, allocations: 109.8 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3423, allocations: 0 / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3423, allocations: 5.312 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.3423, allocations: 4 kB / 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.0005126/0.3429, allocations: 417.2 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3429, allocations: 9.625 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.3429, allocations: 32.12 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.343, allocations: 14.25 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3432, allocations: 200.4 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3432, allocations: 5.75 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.3432, allocations: 3.125 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.3434, allocations: 67.34 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3434, allocations: 0 / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.3434, allocations: 0 / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3434, allocations: 1.375 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.3436, allocations: 28.47 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.344, allocations: 312.2 kB / 0.5344 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.3441, allocations: 44.44 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.3442, allocations: 21.19 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.3442, allocations: 1.375 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.3442, allocations: 30.56 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3442, allocations: 1.375 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009099/0.3451, allocations: 245.8 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.3452, allocations: 56.66 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.3455, allocations: 238 kB / 0.535 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.3455, allocations: 27.05 kB / 0.535 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.681e-05/0.3456, allocations: 113.9 kB / 0.5352 GB, free: 9.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.3456, allocations: 23.75 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.3456, allocations: 27.23 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3458, allocations: 323.2 kB / 0.5355 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.3459, allocations: 32.11 kB / 0.5355 GB, free: 9.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.346, allocations: 32.84 kB / 0.5356 GB, free: 9.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3461, allocations: 78.41 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3462, allocations: 0 / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002325/0.3464, allocations: 113.5 kB / 0.5358 GB, free: 9.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3464, allocations: 5.562 kB / 0.5358 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3464, allocations: 0 / 0.5358 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3464, allocations: 1.188 kB / 0.5358 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.3466, allocations: 17.61 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.3466, allocations: 3.938 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.3466, allocations: 11.25 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3466, allocations: 2.375 kB / 0.5358 GB, free: 9.094 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.343e-05/0.3467, allocations: 130.9 kB / 0.5359 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.3468, allocations: 13.78 kB / 0.5359 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.3471, allocations: 138.4 kB / 0.5361 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3471, allocations: 1.094 kB / 0.5361 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3471, allocations: 3.938 kB / 0.5361 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3471, allocations: 0.9375 kB / 0.5361 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.3476, allocations: 428.9 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3476, allocations: 0 / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.23e-05/0.3477, allocations: 22.64 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3477, allocations: 1.375 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.3477, allocations: 1.375 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.3477, allocations: 3.984 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3478, allocations: 1.375 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.348, allocations: 212.9 kB / 0.5367 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.3481, allocations: 92.67 kB / 0.5368 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.3481, allocations: 1.25 kB / 0.5368 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.3482, allocations: 10.45 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.3482, allocations: 7.906 kB / 0.5368 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.3482, allocations: 2.875 kB / 0.5368 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.3484, allocations: 187.2 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3484, allocations: 0 / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.3486, allocations: 19.16 kB / 0.537 GB, free: 8.02 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.001529/0.3502, allocations: 1.102 MB / 0.5381 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.3504, allocations: 66.98 kB / 0.5382 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.3505, allocations: 5.25 kB / 0.5382 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.3506, allocations: 47.14 kB / 0.5382 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.351, allocations: 26.88 kB / 0.5382 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.3535, allocations: 1.746 MB / 0.5399 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.3539, allocations: 0.718 MB / 0.5406 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.154e-05/0.354, allocations: 20.2 kB / 0.5407 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.931e-05/0.3541, allocations: 37.86 kB / 0.5407 GB, free: 4.859 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3541, allocations: 0 / 0.5407 GB, free: 4.859 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.3756, allocations: 3.262 MB / 0.5439 GB, free: 3.086 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/8.059, allocations: 7.234 kB / 0.5439 GB, free: 3.086 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