Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001593/0.001593, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001914/0.001914, allocations: 201.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.325/1.325, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2058/0.2058, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 79.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3314, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.00288/0.3343, allocations: 1.667 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.3359, allocations: 1.166 MB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.3359, allocations: 1.219 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.3361, allocations: 24.12 kB / 0.5333 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.3364, allocations: 85.53 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.3367, allocations: 142.4 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.3369, allocations: 72.53 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.118e-05/0.337, allocations: 11.22 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.3371, allocations: 34.89 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.3372, allocations: 40.05 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3372, allocations: 4.438 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.3374, allocations: 100.6 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.3375, allocations: 20.83 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.3375, allocations: 25.66 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.3378, allocations: 156.1 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3378, allocations: 0 / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3378, allocations: 0 / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3378, allocations: 1.812 kB / 0.534 GB, free: 10.74 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.0005404/0.3383, allocations: 413.4 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3384, allocations: 10.66 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.3384, allocations: 39.7 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.3385, allocations: 12.62 kB / 0.5344 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.3387, allocations: 206.2 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3387, allocations: 1.594 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.3387, allocations: 1.875 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3389, allocations: 77.45 kB / 0.5347 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3389, allocations: 1.375 kB / 0.5347 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.339, allocations: 0 / 0.5347 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.339, allocations: 9.344 kB / 0.5347 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.3391, allocations: 40.66 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.3395, allocations: 287.8 kB / 0.535 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.3396, allocations: 47.05 kB / 0.5351 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.892e-05/0.3397, allocations: 23.94 kB / 0.5351 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.3397, allocations: 5.375 kB / 0.5351 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3398, allocations: 31.94 kB / 0.5351 GB, free: 9.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 2.375e-06/0.3398, allocations: 0 / 0.5351 GB, free: 9.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007647/0.3405, allocations: 220.1 kB / 0.5354 GB, free: 9.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.3406, allocations: 86.41 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.3408, allocations: 152.3 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.3408, allocations: 27.08 kB / 0.5356 GB, free: 9.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.3408, allocations: 100.2 kB / 0.5357 GB, free: 9.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.3409, allocations: 22.41 kB / 0.5357 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.3409, allocations: 23.2 kB / 0.5357 GB, free: 8.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3411, allocations: 321.5 kB / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.3412, allocations: 33.84 kB / 0.5361 GB, free: 8.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.3413, allocations: 51.67 kB / 0.5361 GB, free: 8.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.3415, allocations: 67.55 kB / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3415, allocations: 5.406 kB / 0.5362 GB, free: 8.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002703/0.3418, allocations: 121.8 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3418, allocations: 5.438 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3418, allocations: 0 / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3418, allocations: 1.125 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.342, allocations: 18.89 kB / 0.5363 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.342, allocations: 1.062 kB / 0.5363 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.378e-05/0.342, allocations: 22.3 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3421, allocations: 2.125 kB / 0.5364 GB, free: 8.492 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.352e-05/0.3421, allocations: 122.5 kB / 0.5365 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.3422, allocations: 8.094 kB / 0.5365 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.3425, allocations: 123.7 kB / 0.5366 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3425, allocations: 1.625 kB / 0.5366 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3425, allocations: 4 kB / 0.5366 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3426, allocations: 3.938 kB / 0.5366 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.3431, allocations: 401 kB / 0.537 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3431, allocations: 0 / 0.537 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.63e-05/0.3432, allocations: 23.42 kB / 0.537 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3432, allocations: 0 / 0.537 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.3432, allocations: 8.875 kB / 0.537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3432, allocations: 1.094 kB / 0.537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3432, allocations: 0 / 0.537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.3435, allocations: 206.4 kB / 0.5372 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.3436, allocations: 88.33 kB / 0.5373 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.3436, allocations: 5.031 kB / 0.5373 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.616e-05/0.3437, allocations: 13.58 kB / 0.5373 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.3438, allocations: 11.17 kB / 0.5373 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.3438, allocations: 2.25 kB / 0.5373 GB, free: 7.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.87e-05/0.3439, allocations: 125.9 kB / 0.5375 GB, free: 7.484 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3439, allocations: 1.125 kB / 0.5375 GB, free: 7.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.3442, allocations: 33.97 kB / 0.5375 GB, free: 7.477 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.001536/0.3457, allocations: 1.129 MB / 0.5386 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.346, allocations: 78.98 kB / 0.5387 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.346, allocations: 5 kB / 0.5387 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.3462, allocations: 52.77 kB / 0.5387 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.3465, allocations: 17.12 kB / 0.5387 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.3486, allocations: 1.591 MB / 0.5403 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.3488, allocations: 0.6958 MB / 0.541 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.907e-05/0.3489, allocations: 22.05 kB / 0.541 GB, free: 4.422 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.349, allocations: 32.08 kB / 0.541 GB, free: 4.398 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.349, allocations: 0 / 0.541 GB, free: 4.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.3702, allocations: 3.525 MB / 0.5445 GB, free: 2.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.162, allocations: 7.062 kB / 0.5445 GB, free: 2.395 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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