Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00159/0.00159, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002002/0.002002, allocations: 199.8 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.494/1.494, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 83.8 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3895, allocations: 62.42 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003318/0.3928, allocations: 1.66 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.3939, allocations: 0.5622 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.065e-05/0.394, allocations: 1.406 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.3943, allocations: 93.52 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.3946, allocations: 111.2 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.3949, allocations: 119.5 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.3951, allocations: 102.3 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3953, allocations: 27.86 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.482e-05/0.3953, allocations: 47.08 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3955, allocations: 62.06 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.3955, allocations: 5.5 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.89e-05/0.3956, allocations: 46.23 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.3957, allocations: 30.86 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.3957, allocations: 43.91 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.3959, allocations: 127.5 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3959, allocations: 5.375 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3959, allocations: 0 / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3959, allocations: 0 / 0.5335 GB, free: 11.2 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004956/0.3964, allocations: 438.4 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3965, allocations: 9.625 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/0.3965, allocations: 41.48 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.3966, allocations: 14.25 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.3968, allocations: 207.2 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.3968, allocations: 11.12 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.3969, allocations: 8.5 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.397, allocations: 75.59 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3971, allocations: 0 / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3971, allocations: 5.375 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3971, allocations: 1.375 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.3972, allocations: 39.75 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.3977, allocations: 348.2 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.3978, allocations: 63.75 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.189e-05/0.3979, allocations: 25.06 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.3979, allocations: 5.062 kB / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.398, allocations: 35.69 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.398, allocations: 0 / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001082/0.399, allocations: 338.2 kB / 0.5351 GB, free: 9.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.3991, allocations: 52.69 kB / 0.5351 GB, free: 9.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.3994, allocations: 239.4 kB / 0.5354 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.3994, allocations: 27.17 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.3995, allocations: 118.2 kB / 0.5355 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.3995, allocations: 48.72 kB / 0.5355 GB, free: 9.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.3996, allocations: 27.84 kB / 0.5356 GB, free: 9.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3998, allocations: 330.4 kB / 0.5359 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.3999, allocations: 48.53 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.4, allocations: 50.72 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.4002, allocations: 115.8 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4002, allocations: 0 / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002932/0.4005, allocations: 147.8 kB / 0.5362 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4005, allocations: 5.562 kB / 0.5362 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4006, allocations: 3.938 kB / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4006, allocations: 1.281 kB / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.4007, allocations: 32.5 kB / 0.5363 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.4007, allocations: 5.125 kB / 0.5363 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.4008, allocations: 7.25 kB / 0.5363 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4008, allocations: 3.281 kB / 0.5363 GB, free: 8.773 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 (13): * Single equations (assignments): 13 * 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.0001158/0.4009, allocations: 135.9 kB / 0.5364 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.401, allocations: 14.53 kB / 0.5364 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.4014, allocations: 193.1 kB / 0.5366 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4014, allocations: 1.344 kB / 0.5366 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4014, allocations: 0 / 0.5366 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4014, allocations: 9.031 kB / 0.5366 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007607/0.4022, allocations: 0.5 MB / 0.5371 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4022, allocations: 1.438 kB / 0.5371 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.776e-05/0.4023, allocations: 24.58 kB / 0.5371 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4023, allocations: 1.188 kB / 0.5371 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.4024, allocations: 2.125 kB / 0.5371 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4024, allocations: 1.062 kB / 0.5371 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4024, allocations: 4.031 kB / 0.5371 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.4027, allocations: 259.2 kB / 0.5374 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.4028, allocations: 88.45 kB / 0.5375 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.4028, allocations: 5.062 kB / 0.5375 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.138e-05/0.4029, allocations: 7.453 kB / 0.5375 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.403, allocations: 16.84 kB / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.403, allocations: 7.891 kB / 0.5375 GB, free: 7.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.4032, allocations: 178.5 kB / 0.5377 GB, free: 7.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4032, allocations: 0.8125 kB / 0.5377 GB, free: 7.613 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.4035, allocations: 27.33 kB / 0.5377 GB, free: 7.605 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 (13): * Single equations (assignments): 13 * 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.001511/0.405, allocations: 1.13 MB / 0.5388 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.4053, allocations: 117.9 kB / 0.5389 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4053, allocations: 0 / 0.5389 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.4055, allocations: 63.95 kB / 0.539 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.4059, allocations: 26.2 kB / 0.539 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.4082, allocations: 1.918 MB / 0.5409 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.4086, allocations: 0.7274 MB / 0.5416 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.519e-05/0.4086, allocations: 24.97 kB / 0.5416 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.063e-05/0.4087, allocations: 48.14 kB / 0.5417 GB, free: 4.312 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4087, allocations: 0 / 0.5417 GB, free: 4.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.429, allocations: 3.626 MB / 0.5452 GB, free: 2.371 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/8.142, allocations: 7.828 kB / 0.5452 GB, free: 2.367 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y,d_t_new2.y,d2_t_new.y,d2_t_new2.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d2_t_new2.u,d2_t_new2.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(d2_t_new.u),der(d2_t_new2.u),der(d_t_new.u),der(d_t_new2.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.columns[2],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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.u[1],t_new.u[2],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time