Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001263/0.001264, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 197.2 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.375/1.375, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 46.09 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 75.88 kB / 480.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3468, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.004469/0.3513, allocations: 1.661 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002732/0.3541, allocations: 1.17 MB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.629e-05/0.3542, allocations: 2.125 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.3545, allocations: 22.91 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.3549, allocations: 89.83 kB / 0.5334 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.3554, allocations: 137.5 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.3555, allocations: 68.7 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.3557, allocations: 14.86 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.965e-05/0.3557, allocations: 34.8 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.3559, allocations: 40.2 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.3559, allocations: 4.125 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003636/0.3563, allocations: 101.6 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.3564, allocations: 17.42 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.3564, allocations: 33.28 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.3568, allocations: 147.5 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3568, allocations: 0 / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3568, allocations: 0 / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.3569, allocations: 1.375 kB / 0.534 GB, free: 10.73 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.0008298/0.3577, allocations: 418.7 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.3578, allocations: 9.469 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.3578, allocations: 43.94 kB / 0.5344 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.3579, allocations: 8.812 kB / 0.5344 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.3582, allocations: 201.2 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3582, allocations: 1.875 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.3582, allocations: 7.5 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.3584, allocations: 76.91 kB / 0.5347 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3585, allocations: 0 / 0.5347 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3585, allocations: 1.219 kB / 0.5347 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3585, allocations: 5.406 kB / 0.5347 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.3587, allocations: 39.81 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.3591, allocations: 292.1 kB / 0.535 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.3592, allocations: 43.22 kB / 0.5351 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.212e-05/0.3593, allocations: 28.5 kB / 0.5351 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.3594, allocations: 1.344 kB / 0.5351 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.3594, allocations: 39.44 kB / 0.5351 GB, free: 9.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.3594, allocations: 0 / 0.5351 GB, free: 9.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008215/0.3602, allocations: 224.2 kB / 0.5354 GB, free: 9.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.3603, allocations: 78.23 kB / 0.5354 GB, free: 9.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.3605, allocations: 159 kB / 0.5356 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.3605, allocations: 26.8 kB / 0.5356 GB, free: 9.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.3606, allocations: 95.52 kB / 0.5357 GB, free: 9.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.3606, allocations: 27.17 kB / 0.5357 GB, free: 9.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.3607, allocations: 18.72 kB / 0.5357 GB, free: 8.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3608, allocations: 325.3 kB / 0.5361 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3609, allocations: 34.16 kB / 0.5361 GB, free: 8.645 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.3611, allocations: 47.38 kB / 0.5361 GB, free: 8.613 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.3613, allocations: 72.97 kB / 0.5362 GB, free: 8.578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3613, allocations: 0 / 0.5362 GB, free: 8.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004008/0.3617, allocations: 122.7 kB / 0.5363 GB, free: 8.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3617, allocations: 5.875 kB / 0.5363 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3617, allocations: 0 / 0.5363 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3617, allocations: 1.312 kB / 0.5363 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3619, allocations: 22.41 kB / 0.5363 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3619, allocations: 4 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.362, allocations: 14.8 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.362, allocations: 1.375 kB / 0.5364 GB, free: 8.48 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 8.203e-05/0.3621, allocations: 119.3 kB / 0.5365 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.3621, allocations: 8.031 kB / 0.5365 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.3624, allocations: 127.8 kB / 0.5366 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3625, allocations: 1.375 kB / 0.5366 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3625, allocations: 0 / 0.5366 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.3625, allocations: 9.297 kB / 0.5366 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005234/0.363, allocations: 396.6 kB / 0.537 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.363, allocations: 0 / 0.537 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.775e-05/0.3631, allocations: 22.83 kB / 0.537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3631, allocations: 4 kB / 0.537 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3631, allocations: 5.031 kB / 0.537 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3631, allocations: 1.156 kB / 0.537 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3632, allocations: 0 / 0.537 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.3635, allocations: 210.2 kB / 0.5372 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.3635, allocations: 87.45 kB / 0.5373 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.3636, allocations: 9.109 kB / 0.5373 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3637, allocations: 11 kB / 0.5373 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.3637, allocations: 6.172 kB / 0.5373 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.3637, allocations: 6.281 kB / 0.5373 GB, free: 7.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.3638, allocations: 122.9 kB / 0.5375 GB, free: 7.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3639, allocations: 3.938 kB / 0.5375 GB, free: 7.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.3642, allocations: 38.83 kB / 0.5375 GB, free: 7.461 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.3659, allocations: 1.13 MB / 0.5386 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.3662, allocations: 82.83 kB / 0.5387 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3662, allocations: 4 kB / 0.5387 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.3663, allocations: 46.06 kB / 0.5387 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.3667, allocations: 15.98 kB / 0.5387 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.3688, allocations: 1.586 MB / 0.5403 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.3692, allocations: 0.696 MB / 0.541 GB, free: 4.422 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.061e-05/0.3693, allocations: 22.33 kB / 0.541 GB, free: 4.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.3694, allocations: 27.89 kB / 0.541 GB, free: 4.391 MB / 398.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3694, allocations: 0 / 0.541 GB, free: 4.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.3933, allocations: 3.526 MB / 0.5445 GB, free: 2.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.29, allocations: 16.78 kB / 0.5445 GB, free: 2.379 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y,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(clock1.y),der(clock2.y),der(d_t_new.u),t_new.extrapolation,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.u1,t_new.u2,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,time