Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001084/0.001084, 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.001203/0.001203, 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.334/1.334, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.232/0.232, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.361, allocations: 62.44 MB / 0.5305 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002917/0.364, allocations: 1.616 MB / 0.5321 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009424/0.3649, allocations: 0.5482 MB / 0.5326 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.365, allocations: 0.75 kB / 0.5326 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.3653, allocations: 115.3 kB / 0.5328 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.3656, allocations: 118.2 kB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.3659, allocations: 110.7 kB / 0.533 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.3661, allocations: 92.17 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3662, allocations: 22.02 kB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.595e-05/0.3663, allocations: 39.14 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3665, allocations: 68.41 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.3665, allocations: 3.969 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.3666, allocations: 44.89 kB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.3667, allocations: 30.58 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.3667, allocations: 41.47 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.3669, allocations: 115.3 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3669, allocations: 5.438 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.3669, allocations: 3.984 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.367, allocations: 0 / 0.5334 GB, free: 11.18 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.000547/0.3675, allocations: 418.5 kB / 0.5338 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.3676, allocations: 9.625 kB / 0.5338 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.3676, allocations: 40.11 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.3677, allocations: 11.72 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.3679, allocations: 217.9 kB / 0.5341 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.3679, allocations: 1.75 kB / 0.5341 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.368, allocations: 7.125 kB / 0.5341 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.3681, allocations: 63.34 kB / 0.5342 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3681, allocations: 0 / 0.5342 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3682, allocations: 1.375 kB / 0.5342 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3682, allocations: 0 / 0.5342 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.3683, allocations: 24.48 kB / 0.5342 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.3687, allocations: 309.7 kB / 0.5345 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.3689, allocations: 52.42 kB / 0.5345 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.945e-05/0.3689, allocations: 17.11 kB / 0.5345 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.369, allocations: 1.375 kB / 0.5345 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.369, allocations: 30.56 kB / 0.5346 GB, free: 9.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.369, allocations: 1.375 kB / 0.5346 GB, free: 9.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009915/0.37, allocations: 255.2 kB / 0.5348 GB, free: 9.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.3701, allocations: 51.41 kB / 0.5349 GB, free: 9.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.3703, allocations: 255.2 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3704, allocations: 29.7 kB / 0.5351 GB, free: 9.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.3704, allocations: 114.9 kB / 0.5352 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.3705, allocations: 27.77 kB / 0.5353 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.3705, allocations: 20.47 kB / 0.5353 GB, free: 9.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3707, allocations: 326.8 kB / 0.5356 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-05/0.3707, allocations: 32.31 kB / 0.5356 GB, free: 9.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.177e-05/0.3708, allocations: 28.98 kB / 0.5357 GB, free: 9.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.371, allocations: 77.22 kB / 0.5357 GB, free: 9.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.371, allocations: 0 / 0.5357 GB, free: 9.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002734/0.3713, allocations: 121.7 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3713, allocations: 5.875 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3714, allocations: 0 / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3714, allocations: 1.094 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3715, allocations: 22.08 kB / 0.5359 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3715, allocations: 3.938 kB / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.3716, allocations: 7.297 kB / 0.5359 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3716, allocations: 10.56 kB / 0.5359 GB, free: 8.922 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.0001158/0.3717, allocations: 132.4 kB / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.3717, allocations: 13.5 kB / 0.536 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.3721, allocations: 136.1 kB / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3721, allocations: 1.156 kB / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3721, allocations: 3.938 kB / 0.5362 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3721, allocations: 0 / 0.5362 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005521/0.3727, allocations: 427.1 kB / 0.5366 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3727, allocations: 0 / 0.5366 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/0.3728, allocations: 22.64 kB / 0.5366 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3728, allocations: 1.094 kB / 0.5366 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3728, allocations: 5.125 kB / 0.5366 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3728, allocations: 1.031 kB / 0.5366 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3728, allocations: 432 / 0.5366 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.3731, allocations: 222.6 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.3732, allocations: 91.61 kB / 0.5369 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.3732, allocations: 1.25 kB / 0.5369 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.299e-05/0.3733, allocations: 3.812 kB / 0.5369 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3733, allocations: 11.97 kB / 0.5369 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.3733, allocations: 5.094 kB / 0.5369 GB, free: 7.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.3735, allocations: 193.8 kB / 0.5371 GB, free: 7.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3735, allocations: 0 / 0.5371 GB, free: 7.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.3738, allocations: 23.28 kB / 0.5371 GB, free: 7.848 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.001536/0.3753, allocations: 1.094 MB / 0.5382 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002334/0.3755, allocations: 79.56 kB / 0.5383 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.3755, allocations: 3.938 kB / 0.5383 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.37e-05/0.3756, allocations: 40.03 kB / 0.5383 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.376, allocations: 26.61 kB / 0.5384 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.3781, allocations: 1.805 MB / 0.5401 GB, free: 5.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.3784, allocations: 0.7164 MB / 0.5408 GB, free: 4.695 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.485e-05/0.3784, allocations: 15.59 kB / 0.5408 GB, free: 4.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.3785, allocations: 37.86 kB / 0.5409 GB, free: 4.66 MB / 398.1 MB Notification: Performance of SimCode: time 1.723e-06/0.3785, allocations: 0 / 0.5409 GB, free: 4.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.3984, allocations: 3.343 MB / 0.5441 GB, free: 2.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.551/7.95, allocations: 4.625 kB / 0.5441 GB, free: 2.848 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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(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.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[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time