Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001147/0.001147, allocations: 118.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.001259/0.001259, allocations: 201.2 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.327/1.327, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 72.22 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3567, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002885/0.3596, allocations: 1.621 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000948/0.3606, allocations: 0.5478 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.3606, allocations: 0 / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.3609, allocations: 81.95 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.3612, allocations: 102.1 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.3615, allocations: 118.8 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.3616, allocations: 80.05 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.3617, allocations: 20.88 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.3618, allocations: 28.05 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.3619, allocations: 63.78 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.3619, allocations: 3.969 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-05/0.362, allocations: 46.33 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.3621, allocations: 22.06 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.3621, allocations: 33.91 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.3623, allocations: 111.8 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3623, allocations: 1.375 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3623, allocations: 3.938 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3623, allocations: 0 / 0.5333 GB, free: 11.32 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.0004544/0.3628, allocations: 415.8 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3628, allocations: 9.625 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.3628, allocations: 32.12 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.3629, allocations: 10.34 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.3631, allocations: 207.7 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.3631, allocations: 1.75 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.3631, allocations: 11.03 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.3633, allocations: 55.36 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3633, allocations: 0 / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3633, allocations: 5.375 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3633, allocations: 3.938 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.3634, allocations: 28.48 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.3638, allocations: 300.4 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.3639, allocations: 43.06 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.175e-05/0.364, allocations: 25.19 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.364, allocations: 1.375 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.364, allocations: 31.94 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 2.355e-06/0.364, allocations: 3.984 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009101/0.365, allocations: 245.8 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.365, allocations: 60.7 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.3652, allocations: 211.5 kB / 0.535 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3652, allocations: 25.7 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.3653, allocations: 105.8 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.3653, allocations: 26.5 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.3654, allocations: 23.98 kB / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3655, allocations: 326 kB / 0.5354 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.712e-05/0.3656, allocations: 28.95 kB / 0.5355 GB, free: 9.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.3657, allocations: 32.25 kB / 0.5355 GB, free: 9.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.3659, allocations: 70.73 kB / 0.5356 GB, free: 9.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3659, allocations: 0 / 0.5356 GB, free: 9.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002297/0.3661, allocations: 113.2 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3662, allocations: 9.594 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3662, allocations: 3.938 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3662, allocations: 1.062 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.3663, allocations: 17.64 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.3664, allocations: 3.938 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.329e-05/0.3664, allocations: 3.625 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.3664, allocations: 2.25 kB / 0.5357 GB, free: 9.129 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.801e-05/0.3665, allocations: 129.1 kB / 0.5358 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.3666, allocations: 17.47 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.3669, allocations: 145.1 kB / 0.536 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3669, allocations: 5.125 kB / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.3669, allocations: 5 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3669, allocations: 0 / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.3675, allocations: 419.7 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3675, allocations: 0.9688 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.3676, allocations: 20.92 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3676, allocations: 1.188 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.3676, allocations: 1.344 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3676, allocations: 1.531 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3676, allocations: 1.281 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.3679, allocations: 219.7 kB / 0.5366 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.368, allocations: 88.61 kB / 0.5367 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.368, allocations: 5.5 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.3681, allocations: 3.062 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.3681, allocations: 7.703 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3681, allocations: 2.125 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.3683, allocations: 167.3 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3683, allocations: 0 / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.3685, allocations: 31.2 kB / 0.5369 GB, free: 8.051 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.001533/0.3701, allocations: 1.098 MB / 0.538 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.3703, allocations: 75.16 kB / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3703, allocations: 1.156 kB / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.3704, allocations: 47.19 kB / 0.5381 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.3708, allocations: 21.34 kB / 0.5381 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.3728, allocations: 1.701 MB / 0.5398 GB, free: 5.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.3731, allocations: 0.7125 MB / 0.5405 GB, free: 4.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.373e-05/0.3732, allocations: 24.88 kB / 0.5405 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.3733, allocations: 33.55 kB / 0.5406 GB, free: 4.926 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3733, allocations: 0 / 0.5406 GB, free: 4.926 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.3924, allocations: 3.183 MB / 0.5437 GB, free: 3.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/8.033, allocations: 1.281 kB / 0.5437 GB, free: 3.184 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.nHeaderLines,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[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time