Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001567, allocations: 83.81 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3594, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003638/0.3631, allocations: 1.622 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.3642, allocations: 0.543 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.24e-05/0.3643, allocations: 1.469 kB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.3647, allocations: 76.11 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.365, allocations: 112 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.3654, allocations: 109.6 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.3656, allocations: 83.8 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3657, allocations: 17.25 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.745e-05/0.3658, allocations: 41.02 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.3659, allocations: 59.03 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.3659, allocations: 2.75 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.3661, allocations: 42.23 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.3661, allocations: 24.17 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.3662, allocations: 29.25 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.3664, allocations: 112.4 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3664, allocations: 0 / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3664, allocations: 0 / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.3664, allocations: 4 kB / 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.0005761/0.367, allocations: 411.7 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3671, allocations: 9.625 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.619e-05/0.3671, allocations: 40.11 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.3672, allocations: 10.34 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.3674, allocations: 201.2 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3675, allocations: 1.75 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.3675, allocations: 5.656 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.3677, allocations: 59.38 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.3677, allocations: 7.922 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3677, allocations: 1.375 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3677, allocations: 1.375 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.3678, allocations: 31.05 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.3683, allocations: 308.2 kB / 0.5344 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.3684, allocations: 47.69 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.814e-05/0.3685, allocations: 25.44 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.904e-05/0.3685, allocations: 1.219 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.3686, allocations: 30.56 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.3686, allocations: 0.9375 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009881/0.3696, allocations: 241.4 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.3697, allocations: 52.56 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.3699, allocations: 214.5 kB / 0.535 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.37, allocations: 27.08 kB / 0.535 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.37, allocations: 105.5 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.3701, allocations: 27.53 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.3701, allocations: 26.8 kB / 0.5351 GB, free: 9.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3702, allocations: 323.5 kB / 0.5355 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-05/0.3703, allocations: 27.95 kB / 0.5355 GB, free: 9.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.74e-05/0.3704, allocations: 32.66 kB / 0.5355 GB, free: 9.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.3706, allocations: 74.48 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3706, allocations: 0 / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002285/0.3709, allocations: 112.5 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3709, allocations: 9.297 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.3709, allocations: 1.188 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3709, allocations: 0 / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.371, allocations: 18.17 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.3711, allocations: 5.375 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.3711, allocations: 2.844 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.3711, allocations: 1.344 kB / 0.5357 GB, free: 9.117 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.0001236/0.3713, allocations: 136.8 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.3713, allocations: 13.31 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.3716, allocations: 142.7 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3716, allocations: 1.375 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3716, allocations: 3.938 kB / 0.536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3717, allocations: 1.375 kB / 0.536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005528/0.3722, allocations: 418.9 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3722, allocations: 0 / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.3723, allocations: 26.98 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3723, allocations: 0 / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.3723, allocations: 1.375 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3723, allocations: 1.375 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3724, allocations: 1.375 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.3727, allocations: 215.6 kB / 0.5366 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.3727, allocations: 92.16 kB / 0.5367 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.3728, allocations: 6.156 kB / 0.5367 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.3729, allocations: 7.156 kB / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.3729, allocations: 7.328 kB / 0.5368 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.3729, allocations: 2.188 kB / 0.5368 GB, free: 8.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.3731, allocations: 175.3 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3731, allocations: 0 / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.3734, allocations: 23.28 kB / 0.5369 GB, free: 8.035 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.001635/0.375, allocations: 1.091 MB / 0.538 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002552/0.3753, allocations: 75.67 kB / 0.5381 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3753, allocations: 0 / 0.5381 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3754, allocations: 48.34 kB / 0.5381 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.3758, allocations: 19.8 kB / 0.5381 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.378, allocations: 1.707 MB / 0.5398 GB, free: 5.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.3783, allocations: 0.7122 MB / 0.5405 GB, free: 4.945 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.537e-05/0.3784, allocations: 16.34 kB / 0.5405 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.3785, allocations: 32.92 kB / 0.5406 GB, free: 4.914 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3785, allocations: 1.25 kB / 0.5406 GB, free: 4.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.4013, allocations: 3.182 MB / 0.5437 GB, free: 3.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.816/8.217, allocations: 8.938 kB / 0.5437 GB, free: 3.164 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,d2_t_new.y,clock.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