Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001112/0.001112, 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.001288/0.001288, 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.407/1.407, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2161/0.2161, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 84.08 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3609, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003263/0.3643, allocations: 1.664 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3663, allocations: 1.199 MB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/0.3663, allocations: 1.375 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.3666, allocations: 23.92 kB / 0.5333 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.3669, allocations: 85.73 kB / 0.5334 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.3674, allocations: 180.5 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.3676, allocations: 83.38 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3677, allocations: 13.62 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.3677, allocations: 28.23 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.3679, allocations: 44.2 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.3679, allocations: 4.125 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.3681, allocations: 108.7 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.3682, allocations: 18.83 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.737e-05/0.3682, allocations: 34.11 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.3685, allocations: 149.7 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3685, allocations: 0 / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3686, allocations: 0 / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3686, allocations: 0 / 0.5341 GB, free: 10.68 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.0005587/0.3691, allocations: 420.3 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3692, allocations: 9.125 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.3692, allocations: 35.97 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.3693, allocations: 10 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.3695, allocations: 205.1 kB / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.3695, allocations: 5.531 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.3695, allocations: 6.875 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.3697, allocations: 83.16 kB / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3697, allocations: 4 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3697, allocations: 1.094 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3698, allocations: 1.125 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.3699, allocations: 42.39 kB / 0.5349 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.3704, allocations: 310.7 kB / 0.5351 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.3705, allocations: 53.47 kB / 0.5352 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.22e-05/0.3706, allocations: 24.84 kB / 0.5352 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3706, allocations: 5.25 kB / 0.5352 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.3706, allocations: 35.89 kB / 0.5353 GB, free: 9.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3706, allocations: 0 / 0.5353 GB, free: 9.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008396/0.3715, allocations: 230.5 kB / 0.5355 GB, free: 9.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.3715, allocations: 78.45 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3717, allocations: 161.6 kB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.3718, allocations: 29.7 kB / 0.5357 GB, free: 9.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.3718, allocations: 104.6 kB / 0.5358 GB, free: 8.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.3719, allocations: 26.62 kB / 0.5359 GB, free: 8.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.3719, allocations: 24.2 kB / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3721, allocations: 317.6 kB / 0.5362 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3722, allocations: 40.58 kB / 0.5362 GB, free: 8.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.3723, allocations: 50.44 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.3726, allocations: 99.5 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3726, allocations: 0 / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002998/0.3729, allocations: 132.7 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3729, allocations: 5.5 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3729, allocations: 0 / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3729, allocations: 5.375 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.3731, allocations: 18.64 kB / 0.5365 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3731, allocations: 0 / 0.5365 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.3732, allocations: 14.8 kB / 0.5365 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3732, allocations: 1.438 kB / 0.5365 GB, free: 8.387 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 (7): * Single equations (assignments): 7 * 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.274e-05/0.3733, allocations: 124.4 kB / 0.5367 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.3733, allocations: 8.219 kB / 0.5367 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.3737, allocations: 137.8 kB / 0.5368 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3737, allocations: 1.156 kB / 0.5368 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3737, allocations: 5.062 kB / 0.5368 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3737, allocations: 3.938 kB / 0.5368 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.3743, allocations: 420.2 kB / 0.5372 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3744, allocations: 4 kB / 0.5372 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.85e-05/0.3744, allocations: 19.05 kB / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3745, allocations: 0 / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.3745, allocations: 9.281 kB / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3745, allocations: 0 / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3745, allocations: 1.156 kB / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.3748, allocations: 224.4 kB / 0.5375 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.3749, allocations: 87.59 kB / 0.5375 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.3749, allocations: 5.656 kB / 0.5375 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3751, allocations: 9.203 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.3751, allocations: 11.77 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.3751, allocations: 1.156 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.3752, allocations: 119.4 kB / 0.5377 GB, free: 7.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3752, allocations: 5.125 kB / 0.5377 GB, free: 7.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003262/0.3756, allocations: 38.94 kB / 0.5377 GB, free: 7.348 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001744/0.3773, allocations: 1.154 MB / 0.5388 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003632/0.3777, allocations: 93.17 kB / 0.5389 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3777, allocations: 1.031 kB / 0.5389 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.3779, allocations: 47.84 kB / 0.539 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.3783, allocations: 18.94 kB / 0.539 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.3806, allocations: 1.648 MB / 0.5406 GB, free: 4.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.3809, allocations: 0.7026 MB / 0.5413 GB, free: 4.258 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.381, allocations: 28.19 kB / 0.5413 GB, free: 4.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.3811, allocations: 35.81 kB / 0.5414 GB, free: 4.219 MB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3811, allocations: 0 / 0.5414 GB, free: 4.219 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.403, allocations: 3.606 MB / 0.5449 GB, free: 2.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/8.149, allocations: 8.938 kB / 0.5449 GB, free: 2.18 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),t_new.extrapolation,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.u1[1],t_new.u2[1],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time