Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001781/0.001781, allocations: 118.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.001962/0.001962, allocations: 201.2 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.366/1.366, 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.2101/0.2101, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 87.8 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3331, allocations: 62.44 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.00329/0.3365, allocations: 1.61 MB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.3375, allocations: 0.5421 MB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.464e-05/0.3376, allocations: 0 / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.3379, allocations: 126.4 kB / 0.5328 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.3383, allocations: 130.9 kB / 0.5329 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.3387, allocations: 95.2 kB / 0.533 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.3389, allocations: 93.11 kB / 0.5331 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.339, allocations: 15.48 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.874e-05/0.3391, allocations: 54.81 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.3393, allocations: 78.39 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3393, allocations: 2.156 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3394, allocations: 49.34 kB / 0.5333 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.3395, allocations: 27.77 kB / 0.5333 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.3396, allocations: 41.98 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.3398, allocations: 117.7 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3398, allocations: 0 / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.3398, allocations: 1.719 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3398, allocations: 7.938 kB / 0.5334 GB, free: 11.29 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.0005431/0.3404, allocations: 432.4 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3404, allocations: 9.312 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.3405, allocations: 36.81 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.3405, allocations: 14.59 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.3408, allocations: 210.1 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3408, allocations: 1.594 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.3408, allocations: 2.688 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3409, allocations: 62.02 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.341, allocations: 5.5 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.341, allocations: 0 / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.341, allocations: 1.469 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.824e-05/0.3411, allocations: 27.19 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.3415, allocations: 302.1 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.3416, allocations: 56.11 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.3417, allocations: 24.03 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.3417, allocations: 0 / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.3417, allocations: 35.81 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3417, allocations: 0 / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008766/0.3426, allocations: 236 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.3427, allocations: 52.78 kB / 0.5349 GB, free: 9.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.3429, allocations: 279.1 kB / 0.5352 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.343, allocations: 25.7 kB / 0.5352 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.343, allocations: 112.4 kB / 0.5353 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.3431, allocations: 30.3 kB / 0.5353 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.3431, allocations: 24.67 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3432, allocations: 327 kB / 0.5357 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.3433, allocations: 25.72 kB / 0.5357 GB, free: 9.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.286e-05/0.3434, allocations: 31.09 kB / 0.5357 GB, free: 9.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3436, allocations: 67.23 kB / 0.5358 GB, free: 9.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3436, allocations: 5.312 kB / 0.5358 GB, free: 9.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000228/0.3438, allocations: 100.8 kB / 0.5359 GB, free: 9.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3438, allocations: 5.344 kB / 0.5359 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3439, allocations: 0 / 0.5359 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3439, allocations: 1.031 kB / 0.5359 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.344, allocations: 21.7 kB / 0.5359 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.344, allocations: 3.938 kB / 0.5359 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/0.3441, allocations: 7.297 kB / 0.5359 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3441, allocations: 6.094 kB / 0.5359 GB, free: 9.039 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 0.0001056/0.3442, allocations: 137.9 kB / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.3442, allocations: 13.94 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.3445, allocations: 118.5 kB / 0.5362 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3445, allocations: 1.156 kB / 0.5362 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3446, allocations: 4.75 kB / 0.5362 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3446, allocations: 0 / 0.5362 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.3451, allocations: 417 kB / 0.5366 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3451, allocations: 0 / 0.5366 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.3452, allocations: 25.58 kB / 0.5366 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3452, allocations: 1.188 kB / 0.5366 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3452, allocations: 1.281 kB / 0.5366 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3452, allocations: 1.031 kB / 0.5366 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3452, allocations: 1.125 kB / 0.5366 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.3455, allocations: 208.7 kB / 0.5368 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.3455, allocations: 93.42 kB / 0.5369 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.3456, allocations: 9.125 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.3457, allocations: 3.312 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.3457, allocations: 11.39 kB / 0.5369 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.3457, allocations: 6.281 kB / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.3459, allocations: 216.9 kB / 0.5371 GB, free: 7.977 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3459, allocations: 0 / 0.5371 GB, free: 7.977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3462, allocations: 19.62 kB / 0.5371 GB, free: 7.973 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.001441/0.3476, allocations: 1.091 MB / 0.5382 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.3478, allocations: 69.36 kB / 0.5383 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3478, allocations: 1.469 kB / 0.5383 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.3479, allocations: 40.73 kB / 0.5383 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.3483, allocations: 24.39 kB / 0.5383 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.3502, allocations: 1.798 MB / 0.5401 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.3505, allocations: 0.7169 MB / 0.5408 GB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.293e-05/0.3506, allocations: 16.42 kB / 0.5408 GB, free: 4.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/0.3507, allocations: 38.17 kB / 0.5408 GB, free: 4.801 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3507, allocations: 3.938 kB / 0.5409 GB, free: 4.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.3708, allocations: 3.41 MB / 0.5442 GB, free: 2.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/7.848, allocations: 8.109 kB / 0.5442 GB, free: 2.949 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,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.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time