Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, 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.001619/0.001619, 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.429/1.429, 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.2289/0.2289, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 83.75 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3245, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002968/0.3276, allocations: 1.625 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009787/0.3286, allocations: 0.5289 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/0.3287, allocations: 5.375 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.3289, allocations: 77.08 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.3292, allocations: 105.5 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.3295, allocations: 94.62 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.3297, allocations: 81.78 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3298, allocations: 20.3 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.29e-05/0.3299, allocations: 34.34 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.33, allocations: 55.88 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.33, allocations: 4.125 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-05/0.3301, allocations: 48.8 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.3302, allocations: 20.17 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.3302, allocations: 33.23 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.3304, allocations: 107 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3304, allocations: 5.375 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3304, allocations: 0 / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.3304, allocations: 0 / 0.5333 GB, free: 11.34 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.0004298/0.3309, allocations: 415.8 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3309, allocations: 9.625 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.3309, allocations: 36.06 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.331, allocations: 8.969 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.3312, allocations: 205.2 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.3312, allocations: 1.75 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.3312, allocations: 18.97 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3314, allocations: 53.98 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3314, allocations: 3.984 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3314, allocations: 9.312 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3314, allocations: 0 / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.318e-05/0.3315, allocations: 27.05 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.3319, allocations: 292.3 kB / 0.5343 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.858e-05/0.332, allocations: 45.69 kB / 0.5344 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.332, allocations: 13.11 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.3321, allocations: 1.469 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.3321, allocations: 42.48 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3321, allocations: 1.375 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008231/0.3329, allocations: 225.2 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.333, allocations: 52.62 kB / 0.5347 GB, free: 9.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.3332, allocations: 214.6 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.3332, allocations: 25.7 kB / 0.5349 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.3333, allocations: 105.6 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.3333, allocations: 30.86 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.3334, allocations: 24.38 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3335, allocations: 322.2 kB / 0.5354 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.3335, allocations: 21.61 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.3336, allocations: 30.19 kB / 0.5354 GB, free: 9.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.3338, allocations: 56.47 kB / 0.5355 GB, free: 9.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3338, allocations: 4 kB / 0.5355 GB, free: 9.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002126/0.334, allocations: 104.2 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.334, allocations: 4.656 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.334, allocations: 1.188 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.334, allocations: 0 / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.949e-05/0.3342, allocations: 18.7 kB / 0.5356 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3342, allocations: 4.25 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.3342, allocations: 11.2 kB / 0.5356 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.3342, allocations: 6 kB / 0.5356 GB, free: 9.168 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 8.762e-05/0.3343, allocations: 120.9 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.3344, allocations: 13.38 kB / 0.5358 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.3347, allocations: 131.9 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3347, allocations: 1.406 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3347, allocations: 3.938 kB / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3347, allocations: 0 / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.3352, allocations: 407.3 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3352, allocations: 1.375 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.263e-05/0.3353, allocations: 21.69 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3353, allocations: 3.984 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.3353, allocations: 5.312 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3353, allocations: 1.375 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3353, allocations: 5.312 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.3356, allocations: 204.6 kB / 0.5365 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.3356, allocations: 87.7 kB / 0.5366 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.3356, allocations: 1.375 kB / 0.5366 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.3357, allocations: 6.75 kB / 0.5366 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.3357, allocations: 12.09 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3358, allocations: 6.75 kB / 0.5366 GB, free: 8.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.3359, allocations: 166.6 kB / 0.5368 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3359, allocations: 0 / 0.5368 GB, free: 8.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00026/0.3362, allocations: 18.45 kB / 0.5368 GB, free: 8.121 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.001438/0.3376, allocations: 1.088 MB / 0.5379 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002428/0.3379, allocations: 74.38 kB / 0.5379 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3379, allocations: 1.188 kB / 0.5379 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.306e-05/0.338, allocations: 37.75 kB / 0.538 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3384, allocations: 13.34 kB / 0.538 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.3402, allocations: 1.662 MB / 0.5396 GB, free: 5.777 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.3405, allocations: 0.7066 MB / 0.5403 GB, free: 5.066 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.107e-05/0.3405, allocations: 8.297 kB / 0.5403 GB, free: 5.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.3406, allocations: 37.27 kB / 0.5403 GB, free: 5.035 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3406, allocations: 0.9375 kB / 0.5403 GB, free: 5.035 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.3629, allocations: 3.12 MB / 0.5434 GB, free: 3.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.343, allocations: 4.406 kB / 0.5434 GB, free: 3.324 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.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(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),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.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,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time