Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 118.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2602/0.2602, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 79.86 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3715, allocations: 62.43 MB / 0.5305 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002777/0.3743, allocations: 1.66 MB / 0.5322 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.3759, allocations: 1.173 MB / 0.5333 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.2e-05/0.376, allocations: 1.469 kB / 0.5333 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.3761, allocations: 23.67 kB / 0.5333 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.3764, allocations: 93.61 kB / 0.5334 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.3768, allocations: 130.3 kB / 0.5335 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.3769, allocations: 68.81 kB / 0.5336 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.254e-05/0.377, allocations: 19.11 kB / 0.5336 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.306e-05/0.3771, allocations: 34.53 kB / 0.5337 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.3772, allocations: 35.69 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.3772, allocations: 4.125 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.3774, allocations: 97.56 kB / 0.5338 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.3775, allocations: 16.09 kB / 0.5338 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.3775, allocations: 38.61 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.3777, allocations: 147.5 kB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3778, allocations: 0 / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3778, allocations: 0 / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3778, allocations: 1.375 kB / 0.534 GB, free: 10.63 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.0005391/0.3783, allocations: 422.7 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3784, allocations: 9.625 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.3784, allocations: 40.06 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.3784, allocations: 7.594 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.3787, allocations: 199 kB / 0.5346 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.3787, allocations: 9.734 kB / 0.5346 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.3787, allocations: 1.75 kB / 0.5346 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.3789, allocations: 77.2 kB / 0.5347 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3789, allocations: 5.359 kB / 0.5347 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.3789, allocations: 0 / 0.5347 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3789, allocations: 1.375 kB / 0.5347 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.3791, allocations: 36.59 kB / 0.5348 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.3795, allocations: 296.1 kB / 0.535 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.3796, allocations: 51.06 kB / 0.5351 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.09e-05/0.3797, allocations: 23.94 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.3797, allocations: 1.375 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.3797, allocations: 35.92 kB / 0.5351 GB, free: 9.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.3797, allocations: 0 / 0.5351 GB, free: 9.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007533/0.3805, allocations: 211.4 kB / 0.5353 GB, free: 9.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.3805, allocations: 86.27 kB / 0.5354 GB, free: 9.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3807, allocations: 154 kB / 0.5356 GB, free: 9.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3807, allocations: 25.7 kB / 0.5356 GB, free: 9.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.3808, allocations: 99.77 kB / 0.5357 GB, free: 8.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.3808, allocations: 26.64 kB / 0.5357 GB, free: 8.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.3809, allocations: 19.5 kB / 0.5357 GB, free: 8.887 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.381, allocations: 321.6 kB / 0.536 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.3811, allocations: 34.66 kB / 0.5361 GB, free: 8.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.3813, allocations: 54.31 kB / 0.5361 GB, free: 8.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.3815, allocations: 72.78 kB / 0.5362 GB, free: 8.477 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3815, allocations: 0 / 0.5362 GB, free: 8.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002767/0.3818, allocations: 115.7 kB / 0.5363 GB, free: 8.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3818, allocations: 4.594 kB / 0.5363 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3818, allocations: 8.016 kB / 0.5363 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3819, allocations: 1.094 kB / 0.5363 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.382, allocations: 18.55 kB / 0.5363 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.382, allocations: 1.156 kB / 0.5363 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.3821, allocations: 18.55 kB / 0.5364 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3821, allocations: 1.25 kB / 0.5364 GB, free: 8.383 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.707e-05/0.3822, allocations: 114.9 kB / 0.5365 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.3822, allocations: 8.438 kB / 0.5365 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.3826, allocations: 127.7 kB / 0.5366 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.3826, allocations: 1.219 kB / 0.5366 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3826, allocations: 3.984 kB / 0.5366 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3826, allocations: 5.094 kB / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.3832, allocations: 404.8 kB / 0.537 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3832, allocations: 0 / 0.537 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.152e-05/0.3833, allocations: 27.42 kB / 0.537 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3833, allocations: 0 / 0.537 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.3833, allocations: 9.047 kB / 0.537 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3833, allocations: 0 / 0.537 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3833, allocations: 1.156 kB / 0.537 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.3837, allocations: 210.3 kB / 0.5372 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.3837, allocations: 88.19 kB / 0.5373 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.3838, allocations: 7.938 kB / 0.5373 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/0.3839, allocations: 10.83 kB / 0.5373 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.3839, allocations: 2.406 kB / 0.5373 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.3839, allocations: 2.875 kB / 0.5373 GB, free: 7.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.384, allocations: 121.5 kB / 0.5375 GB, free: 7.379 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3841, allocations: 9.312 kB / 0.5375 GB, free: 7.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.3843, allocations: 41.7 kB / 0.5375 GB, free: 7.355 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.001553/0.3859, allocations: 1.123 MB / 0.5386 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002729/0.3862, allocations: 78.28 kB / 0.5387 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3862, allocations: 0.9062 kB / 0.5387 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3863, allocations: 49.75 kB / 0.5387 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.3867, allocations: 25.88 kB / 0.5387 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.3886, allocations: 1.59 MB / 0.5403 GB, free: 5.027 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3889, allocations: 0.693 MB / 0.541 GB, free: 4.324 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.683e-05/0.389, allocations: 25.03 kB / 0.541 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.3891, allocations: 32.02 kB / 0.541 GB, free: 4.285 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3891, allocations: 0 / 0.541 GB, free: 4.285 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.4119, allocations: 3.534 MB / 0.5445 GB, free: 2.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/7.946, allocations: 5.969 kB / 0.5445 GB, free: 2.273 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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