Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001265/0.001264, 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.001865/0.001865, 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.467/1.467, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2234/0.2234, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 79.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3096, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.002871/0.3126, allocations: 1.662 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3142, allocations: 1.174 MB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.3142, allocations: 0 / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.3145, allocations: 27.97 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.3148, allocations: 89.73 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.3151, allocations: 125.3 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.3152, allocations: 80.62 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.676e-05/0.3153, allocations: 20.23 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.12e-05/0.3154, allocations: 26.86 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.3156, allocations: 44.14 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.3156, allocations: 4.125 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.3157, allocations: 96.03 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.3158, allocations: 17.27 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.3159, allocations: 34.38 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.3161, allocations: 146.8 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3161, allocations: 5.156 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3161, allocations: 0 / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3161, allocations: 4 kB / 0.534 GB, free: 10.76 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.0005234/0.3167, allocations: 418.8 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3167, allocations: 9.969 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.3168, allocations: 36.38 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.3168, allocations: 8.75 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.317, allocations: 203.7 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.317, allocations: 1.531 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.3171, allocations: 7.594 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3172, allocations: 81.16 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.3173, allocations: 0 / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3173, allocations: 1.25 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3173, allocations: 0 / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.3174, allocations: 33.25 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.3178, allocations: 296.2 kB / 0.535 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.3179, allocations: 51 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.499e-05/0.318, allocations: 19.94 kB / 0.5351 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.318, allocations: 5.125 kB / 0.5351 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.318, allocations: 31.91 kB / 0.5351 GB, free: 9.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3181, allocations: 0 / 0.5351 GB, free: 9.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007516/0.3188, allocations: 220.4 kB / 0.5354 GB, free: 9.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.3189, allocations: 78.3 kB / 0.5354 GB, free: 9.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.319, allocations: 155.1 kB / 0.5356 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.3191, allocations: 30.75 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.3191, allocations: 100.2 kB / 0.5357 GB, free: 9.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.3192, allocations: 30.27 kB / 0.5357 GB, free: 9.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.3192, allocations: 18.62 kB / 0.5357 GB, free: 9.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3193, allocations: 325.4 kB / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.3195, allocations: 31.06 kB / 0.5361 GB, free: 8.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.3196, allocations: 51.62 kB / 0.5361 GB, free: 8.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.3198, allocations: 71.69 kB / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3198, allocations: 0 / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002718/0.3201, allocations: 115.2 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3201, allocations: 5.531 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3201, allocations: 4 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3201, allocations: 1.375 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.3203, allocations: 25.66 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3203, allocations: 1.375 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.332e-05/0.3203, allocations: 18.8 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3204, allocations: 1.375 kB / 0.5364 GB, free: 8.52 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 7.962e-05/0.3204, allocations: 114 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.3205, allocations: 17.62 kB / 0.5365 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.3208, allocations: 119 kB / 0.5366 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.3209, allocations: 5.203 kB / 0.5366 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3209, allocations: 3.938 kB / 0.5366 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3209, allocations: 9.422 kB / 0.5366 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/0.3214, allocations: 395.7 kB / 0.537 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3214, allocations: 1.188 kB / 0.537 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.882e-05/0.3215, allocations: 22.33 kB / 0.537 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3215, allocations: 1.125 kB / 0.537 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3216, allocations: 9.031 kB / 0.537 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3216, allocations: 0 / 0.537 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.3216, allocations: 1.125 kB / 0.537 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.3219, allocations: 213.4 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.322, allocations: 83.52 kB / 0.5373 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.322, allocations: 13.33 kB / 0.5373 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.982e-05/0.3221, allocations: 6.031 kB / 0.5373 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.3221, allocations: 11.2 kB / 0.5373 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3221, allocations: 2.156 kB / 0.5374 GB, free: 7.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.3222, allocations: 127.1 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3223, allocations: 0 / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.3226, allocations: 42.67 kB / 0.5375 GB, free: 7.492 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.001572/0.3241, allocations: 1.129 MB / 0.5386 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.3244, allocations: 78.67 kB / 0.5387 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3245, allocations: 0 / 0.5387 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.3246, allocations: 46 kB / 0.5387 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.325, allocations: 15.08 kB / 0.5387 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.3271, allocations: 1.587 MB / 0.5403 GB, free: 5.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.3274, allocations: 0.6957 MB / 0.541 GB, free: 4.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.024e-05/0.3275, allocations: 22.73 kB / 0.541 GB, free: 4.449 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.3276, allocations: 30.95 kB / 0.541 GB, free: 4.426 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3276, allocations: 0 / 0.541 GB, free: 4.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.3493, allocations: 3.526 MB / 0.5445 GB, free: 2.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.298, allocations: 9.375 kB / 0.5445 GB, free: 2.422 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.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