Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001382, 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.001612/0.001612, 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.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2406/0.2406, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3626, allocations: 62.44 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002953/0.3656, allocations: 1.667 MB / 0.5322 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3673, allocations: 1.197 MB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.3674, allocations: 0 / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.3676, allocations: 30.34 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.3679, allocations: 84.5 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.3683, allocations: 182.7 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.3685, allocations: 75.45 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3686, allocations: 17.62 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.3687, allocations: 40.16 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.3688, allocations: 40.2 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.3688, allocations: 4.125 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.369, allocations: 97.56 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.3691, allocations: 25.41 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.3691, allocations: 34.61 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.3694, allocations: 153.5 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3694, allocations: 0 / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3694, allocations: 0 / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3694, allocations: 0.9688 kB / 0.5341 GB, free: 10.71 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.0005673/0.37, allocations: 415.9 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.37, allocations: 8.781 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.3701, allocations: 32.84 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.3701, allocations: 9 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.3703, allocations: 203.1 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.3704, allocations: 9.656 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.3704, allocations: 7.016 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.3706, allocations: 86.45 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3706, allocations: 3.938 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3706, allocations: 1.625 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3706, allocations: 0 / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.3708, allocations: 47.77 kB / 0.5349 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.3713, allocations: 310 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.3714, allocations: 45.88 kB / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.785e-05/0.3715, allocations: 24.78 kB / 0.5352 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3715, allocations: 5.406 kB / 0.5352 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.3715, allocations: 34.55 kB / 0.5353 GB, free: 9.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 2.465e-06/0.3716, allocations: 1.375 kB / 0.5353 GB, free: 9.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000825/0.3724, allocations: 230.3 kB / 0.5355 GB, free: 9.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.3725, allocations: 86 kB / 0.5356 GB, free: 9.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.3726, allocations: 166.3 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.3727, allocations: 25.7 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.3728, allocations: 99.91 kB / 0.5358 GB, free: 8.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.3728, allocations: 22.41 kB / 0.5359 GB, free: 8.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.3729, allocations: 25.17 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.373, allocations: 316.2 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.3731, allocations: 45.95 kB / 0.5362 GB, free: 8.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.3733, allocations: 50.38 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.3735, allocations: 86.55 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.3735, allocations: 0 / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003155/0.3738, allocations: 132.4 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3739, allocations: 5.5 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3739, allocations: 1.375 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3739, allocations: 0 / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.374, allocations: 19.11 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.374, allocations: 3.984 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.3741, allocations: 14.81 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3741, allocations: 5.375 kB / 0.5365 GB, free: 8.43 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.76e-05/0.3742, allocations: 119.7 kB / 0.5367 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.3743, allocations: 9.562 kB / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003696/0.3747, allocations: 146.6 kB / 0.5368 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3747, allocations: 4.969 kB / 0.5368 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3747, allocations: 4 kB / 0.5368 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.3747, allocations: 7.938 kB / 0.5368 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005923/0.3753, allocations: 415.5 kB / 0.5372 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3753, allocations: 1.094 kB / 0.5372 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.09e-05/0.3754, allocations: 22.02 kB / 0.5372 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3754, allocations: 1.031 kB / 0.5372 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3754, allocations: 9.094 kB / 0.5373 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3754, allocations: 1.156 kB / 0.5373 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3754, allocations: 3.938 kB / 0.5373 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.3758, allocations: 216.2 kB / 0.5375 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/0.3759, allocations: 87.56 kB / 0.5375 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.3759, allocations: 9.094 kB / 0.5376 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.95e-05/0.376, allocations: 14.58 kB / 0.5376 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.3761, allocations: 6.109 kB / 0.5376 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.3761, allocations: 1.938 kB / 0.5376 GB, free: 7.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.3762, allocations: 124.6 kB / 0.5377 GB, free: 7.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3762, allocations: 0 / 0.5377 GB, free: 7.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.3765, allocations: 39.25 kB / 0.5377 GB, free: 7.383 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.001697/0.3782, allocations: 1.139 MB / 0.5388 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003348/0.3785, allocations: 89.17 kB / 0.5389 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3786, allocations: 0 / 0.5389 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.3787, allocations: 55.66 kB / 0.539 GB, free: 6.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.3791, allocations: 22.53 kB / 0.539 GB, free: 6.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.3813, allocations: 1.656 MB / 0.5406 GB, free: 5.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.3816, allocations: 0.7025 MB / 0.5413 GB, free: 4.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.3817, allocations: 23.41 kB / 0.5413 GB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.093e-05/0.3818, allocations: 35.28 kB / 0.5414 GB, free: 4.258 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3818, allocations: 5.031 kB / 0.5414 GB, free: 4.254 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.4047, allocations: 3.601 MB / 0.5449 GB, free: 2.223 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/7.865, allocations: 17.41 kB / 0.5449 GB, free: 2.207 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.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