Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001128/0.001128, 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.001258/0.001258, 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.441/1.441, 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.2254/0.2254, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3688, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003148/0.372, allocations: 1.601 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009571/0.373, allocations: 0.5309 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.3731, allocations: 0 / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.3733, allocations: 31.47 kB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.3737, allocations: 84.89 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.374, allocations: 90.8 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.3742, allocations: 61.61 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3743, allocations: 14.47 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.3743, allocations: 24.23 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.791e-05/0.3744, allocations: 26.41 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.3744, allocations: 3.156 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.881e-05/0.3745, allocations: 28.38 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.3746, allocations: 17.05 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.641e-05/0.3747, allocations: 24.94 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.3749, allocations: 88.98 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.622e-05/0.3749, allocations: 0 / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3749, allocations: 3.938 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.3749, allocations: 0 / 0.5331 GB, free: 11.44 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004873/0.3754, allocations: 390.1 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3754, allocations: 9.312 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.3755, allocations: 36.44 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.3756, allocations: 12.09 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3758, allocations: 198.5 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3758, allocations: 5.75 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.3758, allocations: 1.562 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.3759, allocations: 48.39 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.376, allocations: 0 / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.376, allocations: 0 / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.376, allocations: 5.344 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.219e-05/0.3761, allocations: 20.39 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.3765, allocations: 281.3 kB / 0.5341 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.3767, allocations: 39.62 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.3767, allocations: 23.88 kB / 0.5341 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.3768, allocations: 0 / 0.5341 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3768, allocations: 36.03 kB / 0.5341 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3768, allocations: 0 / 0.5341 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005197/0.3773, allocations: 141.6 kB / 0.5343 GB, free: 10.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.3774, allocations: 52.78 kB / 0.5343 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.3776, allocations: 186.9 kB / 0.5345 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.3776, allocations: 25.7 kB / 0.5345 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.3777, allocations: 100.3 kB / 0.5346 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.3777, allocations: 22.48 kB / 0.5347 GB, free: 9.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.3777, allocations: 17.78 kB / 0.5347 GB, free: 9.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3779, allocations: 321.6 kB / 0.535 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.952e-05/0.378, allocations: 18.98 kB / 0.535 GB, free: 9.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.837e-05/0.378, allocations: 18.98 kB / 0.535 GB, free: 9.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.3782, allocations: 51.02 kB / 0.5351 GB, free: 9.473 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3782, allocations: 1.375 kB / 0.5351 GB, free: 9.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001759/0.3783, allocations: 83.77 kB / 0.5351 GB, free: 9.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3784, allocations: 5.5 kB / 0.5351 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3784, allocations: 1.375 kB / 0.5351 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3784, allocations: 288 / 0.5351 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.599e-05/0.3785, allocations: 13.61 kB / 0.5352 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3785, allocations: 5.312 kB / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/0.3785, allocations: 10.69 kB / 0.5352 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3785, allocations: 5.359 kB / 0.5352 GB, free: 9.395 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 (5): * Single equations (assignments): 5 * 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 9.778e-05/0.3787, allocations: 116.7 kB / 0.5353 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.3787, allocations: 12.02 kB / 0.5353 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.379, allocations: 93.53 kB / 0.5354 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.379, allocations: 1.375 kB / 0.5354 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.379, allocations: 3.938 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.379, allocations: 5.359 kB / 0.5354 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.3794, allocations: 351.8 kB / 0.5357 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3795, allocations: 0 / 0.5357 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.103e-05/0.3795, allocations: 17.55 kB / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3795, allocations: 5.312 kB / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3795, allocations: 0 / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3796, allocations: 1.562 kB / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3796, allocations: 0 / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.3798, allocations: 184.4 kB / 0.5359 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.3798, allocations: 82.39 kB / 0.536 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3799, allocations: 5.312 kB / 0.536 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.38, allocations: 10.73 kB / 0.536 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.38, allocations: 2.75 kB / 0.536 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.38, allocations: 1.375 kB / 0.536 GB, free: 8.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.3801, allocations: 140.7 kB / 0.5362 GB, free: 8.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.3801, allocations: 0 / 0.5362 GB, free: 8.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.3804, allocations: 18.61 kB / 0.5362 GB, free: 8.445 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 (5): * Single equations (assignments): 5 * 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.001424/0.3818, allocations: 1.006 MB / 0.5372 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.382, allocations: 48.22 kB / 0.5372 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.382, allocations: 0 / 0.5372 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.758e-05/0.3821, allocations: 31.56 kB / 0.5372 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.3825, allocations: 10.72 kB / 0.5373 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.3841, allocations: 1.491 MB / 0.5387 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.3844, allocations: 0.6973 MB / 0.5394 GB, free: 5.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.393e-05/0.3845, allocations: 10.25 kB / 0.5394 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.3845, allocations: 27.98 kB / 0.5394 GB, free: 5.52 MB / 398.1 MB Notification: Performance of SimCode: time 1.633e-06/0.3845, allocations: 3.938 kB / 0.5394 GB, free: 5.516 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.4053, allocations: 2.667 MB / 0.542 GB, free: 4.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.327, allocations: 17.45 kB / 0.5421 GB, free: 4 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.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 Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,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.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time