Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001101/0.001101, allocations: 122.8 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.001186/0.001186, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, 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.2053/0.2053, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 79.86 kB / 480.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3427, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003261/0.3461, allocations: 1.625 MB / 0.5321 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009728/0.3471, allocations: 0.5323 MB / 0.5326 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/0.3472, allocations: 1.25 kB / 0.5326 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.3475, allocations: 81.91 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.3478, allocations: 101.7 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.3481, allocations: 95.38 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.3483, allocations: 84.05 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3484, allocations: 12.59 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.3485, allocations: 31.69 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.3486, allocations: 64.88 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.3487, allocations: 5.875 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.3488, allocations: 50.16 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.3489, allocations: 18.92 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.3489, allocations: 29.78 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.3491, allocations: 111.7 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3492, allocations: 0 / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3492, allocations: 1.188 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3492, allocations: 0 / 0.5333 GB, free: 11.3 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.0005127/0.3497, allocations: 415.5 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3497, allocations: 14.59 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.3498, allocations: 30.75 kB / 0.5337 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.3498, allocations: 10.75 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.35, allocations: 203.4 kB / 0.5339 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3501, allocations: 1.844 kB / 0.5339 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.3501, allocations: 11.19 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.3503, allocations: 58.39 kB / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3503, allocations: 0 / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3503, allocations: 5.375 kB / 0.534 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3503, allocations: 3.984 kB / 0.534 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.884e-05/0.3504, allocations: 35.03 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.3508, allocations: 288.3 kB / 0.5343 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.3509, allocations: 41.69 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.351, allocations: 21.12 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.351, allocations: 0 / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3511, allocations: 39.94 kB / 0.5344 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3511, allocations: 0 / 0.5344 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009284/0.352, allocations: 222.9 kB / 0.5346 GB, free: 9.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.3521, allocations: 55.41 kB / 0.5347 GB, free: 9.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.3523, allocations: 219.2 kB / 0.5349 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3523, allocations: 27.08 kB / 0.5349 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.3524, allocations: 105.6 kB / 0.535 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.3524, allocations: 26.3 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.3525, allocations: 23.22 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3526, allocations: 323 kB / 0.5354 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.547e-05/0.3527, allocations: 29.72 kB / 0.5354 GB, free: 9.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.617e-05/0.3528, allocations: 27.11 kB / 0.5354 GB, free: 9.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.353, allocations: 63.02 kB / 0.5355 GB, free: 9.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.353, allocations: 0 / 0.5355 GB, free: 9.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002145/0.3532, allocations: 95.94 kB / 0.5356 GB, free: 9.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3532, allocations: 5.906 kB / 0.5356 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3532, allocations: 0 / 0.5356 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.3533, allocations: 6.062 kB / 0.5356 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3534, allocations: 20.17 kB / 0.5356 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3534, allocations: 4.875 kB / 0.5356 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.087e-05/0.3534, allocations: 11.08 kB / 0.5356 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3535, allocations: 2.312 kB / 0.5356 GB, free: 9.125 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.000104/0.3536, allocations: 128.6 kB / 0.5358 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.3536, allocations: 16.72 kB / 0.5358 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.3539, allocations: 124.2 kB / 0.5359 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3539, allocations: 1.656 kB / 0.5359 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3539, allocations: 3.938 kB / 0.5359 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3539, allocations: 0.8125 kB / 0.5359 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.3545, allocations: 399.1 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3545, allocations: 0 / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-05/0.3546, allocations: 34.58 kB / 0.5363 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3546, allocations: 1.188 kB / 0.5363 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3546, allocations: 1.125 kB / 0.5363 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3546, allocations: 1.188 kB / 0.5363 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3546, allocations: 0 / 0.5363 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.3549, allocations: 200.8 kB / 0.5365 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.355, allocations: 92.33 kB / 0.5366 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.355, allocations: 1.484 kB / 0.5366 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.3551, allocations: 11.45 kB / 0.5366 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.3551, allocations: 3.469 kB / 0.5366 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3551, allocations: 2.156 kB / 0.5366 GB, free: 8.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.3553, allocations: 167 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3553, allocations: 5.094 kB / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.3556, allocations: 17.77 kB / 0.5368 GB, free: 8.086 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.001688/0.3573, allocations: 1.095 MB / 0.5379 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.3575, allocations: 61.97 kB / 0.5379 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3575, allocations: 0 / 0.5379 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.299e-05/0.3576, allocations: 41.62 kB / 0.538 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.358, allocations: 22.48 kB / 0.538 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.3601, allocations: 1.667 MB / 0.5396 GB, free: 5.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3604, allocations: 0.7032 MB / 0.5403 GB, free: 5.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.913e-05/0.3605, allocations: 20.25 kB / 0.5403 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/0.3606, allocations: 36.89 kB / 0.5404 GB, free: 4.984 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3606, allocations: 0 / 0.5404 GB, free: 4.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.3825, allocations: 3.111 MB / 0.5434 GB, free: 3.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/8.053, allocations: 12.34 kB / 0.5434 GB, free: 3.273 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,d2_t_new.y,clock.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