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.00123/0.00123, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, 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.2435/0.2435, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 83.86 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.391, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002879/0.3939, allocations: 1.595 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009904/0.3949, allocations: 0.5264 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.395, allocations: 5.031 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.3952, allocations: 27.53 kB / 0.5326 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.3955, allocations: 84.83 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.3958, allocations: 86.02 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.3959, allocations: 71.42 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.396, allocations: 9.531 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.792e-05/0.3961, allocations: 23.89 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.3962, allocations: 22.14 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.3962, allocations: 3.75 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.262e-05/0.3963, allocations: 31.75 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.3963, allocations: 13.56 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.3964, allocations: 33.95 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.3965, allocations: 90.41 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3966, allocations: 0 / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3966, allocations: 0 / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.3966, allocations: 3.281 kB / 0.5331 GB, free: 11.42 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.000489/0.3971, allocations: 383.7 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3971, allocations: 9.625 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.3972, allocations: 44.05 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.3972, allocations: 12.97 kB / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.3974, allocations: 193.3 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3974, allocations: 13.44 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.3974, allocations: 1.375 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.3976, allocations: 48.67 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3976, allocations: 0 / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3976, allocations: 0 / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3976, allocations: 1.375 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.937e-05/0.3977, allocations: 20.36 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.398, allocations: 281.5 kB / 0.534 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.3983, allocations: 50.98 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.3983, allocations: 19.72 kB / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.3984, allocations: 1.375 kB / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.3984, allocations: 30.56 kB / 0.5341 GB, free: 10.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.3984, allocations: 0 / 0.5341 GB, free: 10.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005527/0.3989, allocations: 151.2 kB / 0.5343 GB, free: 10.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.399, allocations: 51.41 kB / 0.5343 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.3992, allocations: 179.8 kB / 0.5345 GB, free: 9.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3992, allocations: 25.7 kB / 0.5345 GB, free: 9.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.3992, allocations: 105.6 kB / 0.5346 GB, free: 9.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.3993, allocations: 13.19 kB / 0.5346 GB, free: 9.836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.3993, allocations: 17.84 kB / 0.5347 GB, free: 9.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3994, allocations: 321.6 kB / 0.535 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.3995, allocations: 18.98 kB / 0.535 GB, free: 9.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.3996, allocations: 18.55 kB / 0.535 GB, free: 9.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.3997, allocations: 47.48 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3997, allocations: 1.156 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001898/0.3999, allocations: 84.52 kB / 0.5351 GB, free: 9.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3999, allocations: 5.656 kB / 0.5351 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4, allocations: 0 / 0.5351 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4, allocations: 5.641 kB / 0.5351 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.4, allocations: 9.094 kB / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.4001, allocations: 3.938 kB / 0.5352 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.4001, allocations: 15.27 kB / 0.5352 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.4001, allocations: 1.938 kB / 0.5352 GB, free: 9.375 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.143e-05/0.4002, allocations: 125 kB / 0.5353 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.4003, allocations: 7.406 kB / 0.5353 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.4005, allocations: 94.08 kB / 0.5354 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.4005, allocations: 0.9375 kB / 0.5354 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.4005, allocations: 4.594 kB / 0.5354 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4005, allocations: 0 / 0.5354 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.401, allocations: 360.4 kB / 0.5357 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.401, allocations: 1.062 kB / 0.5357 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/0.401, allocations: 8.844 kB / 0.5357 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.401, allocations: 5.094 kB / 0.5358 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.4011, allocations: 1.094 kB / 0.5358 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4011, allocations: 0 / 0.5358 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4011, allocations: 5.141 kB / 0.5358 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.4013, allocations: 175.8 kB / 0.5359 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.4013, allocations: 83.39 kB / 0.536 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.4014, allocations: 9.031 kB / 0.536 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.4014, allocations: 10.3 kB / 0.536 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.4015, allocations: 2.094 kB / 0.536 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.4015, allocations: 2.344 kB / 0.536 GB, free: 8.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.4016, allocations: 143.8 kB / 0.5362 GB, free: 8.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4016, allocations: 0 / 0.5362 GB, free: 8.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.4019, allocations: 10.56 kB / 0.5362 GB, free: 8.43 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.00138/0.4032, allocations: 1.012 MB / 0.5372 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.4034, allocations: 50.73 kB / 0.5372 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4035, allocations: 5.125 kB / 0.5372 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.275e-05/0.4035, allocations: 23.36 kB / 0.5372 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.4039, allocations: 14.2 kB / 0.5373 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.4056, allocations: 1.492 MB / 0.5387 GB, free: 6.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.4059, allocations: 0.6968 MB / 0.5394 GB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.554e-05/0.406, allocations: 21.42 kB / 0.5394 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.406, allocations: 23.75 kB / 0.5394 GB, free: 5.492 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.406, allocations: 1.031 kB / 0.5394 GB, free: 5.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.4242, allocations: 2.661 MB / 0.542 GB, free: 3.996 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.468/7.892, allocations: 14.3 kB / 0.542 GB, free: 3.984 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