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.001102/0.001102, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.214/0.214, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 75.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3355, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002811/0.3383, allocations: 1.665 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.3399, allocations: 1.164 MB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.34, allocations: 1.219 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.3402, allocations: 31.56 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.3405, allocations: 89.23 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.3408, allocations: 126.4 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.3409, allocations: 79.97 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.485e-05/0.341, allocations: 16.97 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.059e-05/0.3411, allocations: 25.61 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.3412, allocations: 40.58 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.3412, allocations: 8 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.3414, allocations: 105.7 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.3414, allocations: 7.844 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.3415, allocations: 38.97 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.3417, allocations: 147.5 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3417, allocations: 0 / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3417, allocations: 0 / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.3418, allocations: 0 / 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.0005076/0.3423, allocations: 422.7 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3423, allocations: 9.625 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.3424, allocations: 36.12 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.3424, allocations: 8.969 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3426, allocations: 201.7 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3426, allocations: 5.75 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.3427, allocations: 3.125 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.3428, allocations: 77.2 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.3429, allocations: 0 / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3429, allocations: 1.375 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3429, allocations: 1.375 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.343, allocations: 36.53 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.3434, allocations: 292.2 kB / 0.535 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.3435, allocations: 55.05 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.3436, allocations: 19.94 kB / 0.5351 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.3436, allocations: 13.38 kB / 0.5351 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.3437, allocations: 31.94 kB / 0.5351 GB, free: 9.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3437, allocations: 0 / 0.5351 GB, free: 9.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007128/0.3444, allocations: 216 kB / 0.5353 GB, free: 9.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3444, allocations: 78.48 kB / 0.5354 GB, free: 9.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.3446, allocations: 158.6 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3446, allocations: 27.08 kB / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.3447, allocations: 102.9 kB / 0.5357 GB, free: 9.062 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.3447, allocations: 22.41 kB / 0.5357 GB, free: 9.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.3447, allocations: 20.59 kB / 0.5357 GB, free: 9.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.3448, allocations: 320.2 kB / 0.536 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3449, allocations: 36.03 kB / 0.5361 GB, free: 8.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.3451, allocations: 49.44 kB / 0.5361 GB, free: 8.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.3453, allocations: 77.02 kB / 0.5362 GB, free: 8.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3453, allocations: 0 / 0.5362 GB, free: 8.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002588/0.3455, allocations: 114.9 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3456, allocations: 5.469 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3456, allocations: 4.031 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3456, allocations: 1.531 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.3457, allocations: 21.67 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3457, allocations: 1.125 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.308e-05/0.3458, allocations: 18.8 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3458, allocations: 1.156 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 8.158e-05/0.3459, allocations: 115.3 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.3459, allocations: 7.344 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.3463, allocations: 132.5 kB / 0.5366 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3463, allocations: 1.062 kB / 0.5366 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3463, allocations: 0 / 0.5366 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3463, allocations: 9.047 kB / 0.5366 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/0.3468, allocations: 400.2 kB / 0.537 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3468, allocations: 5.156 kB / 0.537 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.754e-05/0.3469, allocations: 22.91 kB / 0.537 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3469, allocations: 0 / 0.537 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.3469, allocations: 9.094 kB / 0.537 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3469, allocations: 1.125 kB / 0.537 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.347, allocations: 480 / 0.537 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.3473, allocations: 209.9 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.3473, allocations: 87.62 kB / 0.5373 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.3473, allocations: 9.281 kB / 0.5373 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3474, allocations: 10.42 kB / 0.5373 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.3475, allocations: 2.312 kB / 0.5373 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3475, allocations: 2.844 kB / 0.5373 GB, free: 7.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.919e-05/0.3476, allocations: 126.8 kB / 0.5375 GB, free: 7.512 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3476, allocations: 7.938 kB / 0.5375 GB, free: 7.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.3479, allocations: 42.42 kB / 0.5375 GB, free: 7.488 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.001467/0.3494, allocations: 1.119 MB / 0.5386 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.3497, allocations: 87.08 kB / 0.5387 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3497, allocations: 0 / 0.5387 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.3498, allocations: 45.06 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.0003328/0.3501, allocations: 16.23 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.00186/0.352, allocations: 1.594 MB / 0.5403 GB, free: 5.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.3523, allocations: 0.6966 MB / 0.541 GB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.89e-05/0.3523, allocations: 13.39 kB / 0.541 GB, free: 4.449 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.3524, allocations: 36.03 kB / 0.541 GB, free: 4.422 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3524, allocations: 0 / 0.541 GB, free: 4.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.3744, allocations: 3.528 MB / 0.5445 GB, free: 2.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.807/8.181, allocations: 6.094 kB / 0.5445 GB, free: 2.418 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