Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 117.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 203.8 kB / 18.74 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.367/1.367, 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.2064/0.2064, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 75.83 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.322, allocations: 62.43 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002716/0.3247, allocations: 1.625 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3258, allocations: 0.5355 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.3259, allocations: 1.156 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.3262, allocations: 79.02 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.3265, allocations: 97.97 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.3268, allocations: 90.02 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.327, allocations: 86.23 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3271, allocations: 16.84 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.3272, allocations: 35.91 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.3273, allocations: 45.83 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.3273, allocations: 3.906 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.3275, allocations: 45.02 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.3275, allocations: 22.78 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.3276, allocations: 29.25 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.3278, allocations: 115 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3278, allocations: 0 / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3278, allocations: 0 / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.3278, allocations: 0 / 0.5333 GB, free: 11.36 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.0005701/0.3284, allocations: 402.5 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.3285, allocations: 9.625 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.3285, allocations: 40.11 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.3286, allocations: 14.25 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.3288, allocations: 195.1 kB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3288, allocations: 13.72 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.3288, allocations: 3.125 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.329, allocations: 57.94 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.329, allocations: 0 / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.329, allocations: 1.375 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.329, allocations: 0 / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.66e-05/0.3291, allocations: 27.09 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.3295, allocations: 298.9 kB / 0.5343 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.3297, allocations: 43 kB / 0.5343 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.3297, allocations: 19.81 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.3297, allocations: 5.359 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.3298, allocations: 31.94 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3298, allocations: 0 / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008324/0.3306, allocations: 225.6 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.3306, allocations: 52.75 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.3308, allocations: 207.4 kB / 0.5349 GB, free: 9.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.3309, allocations: 29.64 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.3309, allocations: 105.8 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.331, allocations: 34.64 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.331, allocations: 19.91 kB / 0.535 GB, free: 9.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.3311, allocations: 322.4 kB / 0.5353 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/0.3312, allocations: 33.45 kB / 0.5354 GB, free: 9.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.299e-05/0.3313, allocations: 22.11 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.3314, allocations: 69.05 kB / 0.5355 GB, free: 9.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3314, allocations: 0 / 0.5355 GB, free: 9.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002016/0.3316, allocations: 99.56 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3316, allocations: 5.344 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3317, allocations: 0 / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3317, allocations: 1.094 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.3318, allocations: 21.61 kB / 0.5356 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3318, allocations: 5.062 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.3319, allocations: 7.438 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.3319, allocations: 1.125 kB / 0.5356 GB, free: 9.195 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 9.589e-05/0.332, allocations: 127.4 kB / 0.5357 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.332, allocations: 13.56 kB / 0.5357 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.3323, allocations: 116 kB / 0.5358 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3323, allocations: 1.219 kB / 0.5358 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.3323, allocations: 3.938 kB / 0.5358 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3323, allocations: 0 / 0.5358 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.3329, allocations: 409.8 kB / 0.5362 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3329, allocations: 1.281 kB / 0.5362 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.333, allocations: 22.17 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.333, allocations: 0 / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.333, allocations: 2.344 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.333, allocations: 0 / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.333, allocations: 1.438 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.3333, allocations: 207.6 kB / 0.5365 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.3333, allocations: 92.05 kB / 0.5365 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.3334, allocations: 5.422 kB / 0.5366 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.3334, allocations: 3.062 kB / 0.5366 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.3335, allocations: 10.92 kB / 0.5366 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.3335, allocations: 6.875 kB / 0.5366 GB, free: 8.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.3336, allocations: 154.8 kB / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3336, allocations: 0 / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.3339, allocations: 21.75 kB / 0.5367 GB, free: 8.16 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.001354/0.3352, allocations: 1.091 MB / 0.5378 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.3354, allocations: 70.25 kB / 0.5379 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3355, allocations: 0 / 0.5379 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.91e-05/0.3356, allocations: 38.48 kB / 0.5379 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.3359, allocations: 18.72 kB / 0.5379 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.3377, allocations: 1.643 MB / 0.5395 GB, free: 5.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.338, allocations: 0.7019 MB / 0.5402 GB, free: 5.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.179e-05/0.3381, allocations: 16.05 kB / 0.5402 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.3382, allocations: 30.16 kB / 0.5403 GB, free: 5.078 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3382, allocations: 0 / 0.5403 GB, free: 5.078 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.3563, allocations: 3.068 MB / 0.5433 GB, free: 3.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/8.026, allocations: 8.266 kB / 0.5433 GB, free: 3.387 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time