Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.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.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 118.8 kB / 17.79 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001524/0.001524, allocations: 197.2 kB / 18.73 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, 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.2203/0.2203, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 83.86 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3611, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003327/0.3645, allocations: 1.621 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.3656, allocations: 0.5441 MB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.3656, allocations: 1.594 kB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.3659, allocations: 80.62 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.3662, allocations: 99.06 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.3665, allocations: 117.2 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.3667, allocations: 89.03 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.3668, allocations: 16.52 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.367e-05/0.3669, allocations: 33 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.367, allocations: 61.19 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.367, allocations: 1.375 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.953e-05/0.3671, allocations: 44.86 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.3671, allocations: 20.17 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.3672, allocations: 38.55 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.3674, allocations: 108.4 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3674, allocations: 0 / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3674, allocations: 0 / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.3674, allocations: 0 / 0.5333 GB, free: 11.31 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.0004621/0.3679, allocations: 415.8 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3679, allocations: 13.61 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.368, allocations: 36.12 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.368, allocations: 10.34 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.3682, allocations: 203.7 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3682, allocations: 5.75 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.3683, allocations: 10.97 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.3684, allocations: 59.36 kB / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3684, allocations: 3.984 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.3685, allocations: 9.312 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3685, allocations: 0 / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.467e-05/0.3686, allocations: 24.48 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.369, allocations: 308.4 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.3691, allocations: 39.06 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.3691, allocations: 25.19 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.3692, allocations: 1.375 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.3692, allocations: 31.94 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.3692, allocations: 0 / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009095/0.3701, allocations: 241.1 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.3702, allocations: 56.84 kB / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.3704, allocations: 214.5 kB / 0.535 GB, free: 9.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.3704, allocations: 31.17 kB / 0.535 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.3705, allocations: 101.6 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.3706, allocations: 30.44 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.3706, allocations: 23.67 kB / 0.5351 GB, free: 9.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3708, allocations: 330.9 kB / 0.5355 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/0.3708, allocations: 24.27 kB / 0.5355 GB, free: 9.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-05/0.3709, allocations: 33.03 kB / 0.5355 GB, free: 9.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.3711, allocations: 73.67 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3711, allocations: 1.031 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002477/0.3714, allocations: 116.3 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3714, allocations: 5.656 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3714, allocations: 0 / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3715, allocations: 1.125 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.3716, allocations: 21.64 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.3716, allocations: 5.188 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.3716, allocations: 2.375 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.3717, allocations: 2.25 kB / 0.5357 GB, free: 9.105 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 (8): * Single equations (assignments): 8 * 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 0.0001034/0.3718, allocations: 129.8 kB / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.3718, allocations: 16.59 kB / 0.5359 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.3721, allocations: 138 kB / 0.536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3722, allocations: 1 kB / 0.536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3722, allocations: 5.094 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3722, allocations: 0 / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/0.3728, allocations: 420.6 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3728, allocations: 0 / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.3729, allocations: 21.83 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3729, allocations: 5.375 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3729, allocations: 5.312 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3729, allocations: 0 / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3729, allocations: 1.375 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.3732, allocations: 224.4 kB / 0.5367 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.3733, allocations: 88.61 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.3733, allocations: 1.344 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.3734, allocations: 3.844 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.3734, allocations: 14.56 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3734, allocations: 2.5 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.3736, allocations: 163.2 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3736, allocations: 1.25 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.3739, allocations: 26.16 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001488/0.3754, allocations: 1.109 MB / 0.538 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.3756, allocations: 71.92 kB / 0.5381 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3756, allocations: 0 / 0.5381 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.849e-05/0.3757, allocations: 44.34 kB / 0.5381 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.3761, allocations: 19.27 kB / 0.5382 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.3782, allocations: 1.703 MB / 0.5398 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.3785, allocations: 0.7078 MB / 0.5405 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.749e-05/0.3786, allocations: 20.7 kB / 0.5405 GB, free: 4.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.599e-05/0.3787, allocations: 37.83 kB / 0.5406 GB, free: 4.902 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3787, allocations: 3.938 kB / 0.5406 GB, free: 4.898 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.3973, allocations: 3.172 MB / 0.5437 GB, free: 3.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/7.814, allocations: 4.312 kB / 0.5437 GB, free: 3.164 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time