Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 118.8 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 201.2 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 79.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3414, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003425/0.3449, allocations: 1.699 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.3461, allocations: 0.5894 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.256e-05/0.3462, allocations: 1.438 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.3466, allocations: 28.89 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.3469, allocations: 79.64 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.3475, allocations: 182.4 kB / 0.533 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.3478, allocations: 103 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.3479, allocations: 21.02 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.027e-05/0.348, allocations: 34.77 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.3481, allocations: 53.38 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.3482, allocations: 5.5 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.3484, allocations: 98.88 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.3484, allocations: 22.8 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.3485, allocations: 36.05 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.3488, allocations: 182.2 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3488, allocations: 0 / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3488, allocations: 0 / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3489, allocations: 1.375 kB / 0.5336 GB, free: 11.09 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.0006307/0.3495, allocations: 445.6 kB / 0.534 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3495, allocations: 13.56 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.3496, allocations: 36.12 kB / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.3496, allocations: 10.34 kB / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.3498, allocations: 212.4 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3499, allocations: 5.688 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.3499, allocations: 3.125 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.3502, allocations: 98.78 kB / 0.5344 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.3502, allocations: 5.359 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3503, allocations: 0 / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3503, allocations: 1.375 kB / 0.5344 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.3506, allocations: 75.8 kB / 0.5344 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006533/0.3513, allocations: 344.1 kB / 0.5348 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.3515, allocations: 79.45 kB / 0.5349 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.3517, allocations: 49.5 kB / 0.5349 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.3518, allocations: 1.406 kB / 0.5349 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3518, allocations: 35.62 kB / 0.5349 GB, free: 9.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.3518, allocations: 4 kB / 0.5349 GB, free: 9.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001587/0.3534, allocations: 417.4 kB / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.3534, allocations: 78.3 kB / 0.5354 GB, free: 9.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.3536, allocations: 168.9 kB / 0.5356 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3536, allocations: 29.69 kB / 0.5356 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.491e-05/0.3537, allocations: 100.7 kB / 0.5357 GB, free: 9.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.3538, allocations: 31.58 kB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.3538, allocations: 25.59 kB / 0.5358 GB, free: 9.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3539, allocations: 321.6 kB / 0.5361 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.3542, allocations: 79.25 kB / 0.5361 GB, free: 8.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.3545, allocations: 100.2 kB / 0.5362 GB, free: 8.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.3551, allocations: 167.8 kB / 0.5364 GB, free: 8.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-06/0.3551, allocations: 3.938 kB / 0.5364 GB, free: 8.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006126/0.3557, allocations: 213.5 kB / 0.5366 GB, free: 8.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.3557, allocations: 8.359 kB / 0.5366 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3557, allocations: 1.125 kB / 0.5366 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3558, allocations: 0 / 0.5366 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.356, allocations: 34.44 kB / 0.5366 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.356, allocations: 12.83 kB / 0.5366 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.3562, allocations: 25.97 kB / 0.5367 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.3562, allocations: 2.094 kB / 0.5367 GB, free: 8.48 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 (10): * Single equations (assignments): 10 * 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.0001032/0.3563, allocations: 124.3 kB / 0.5368 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.3564, allocations: 13.14 kB / 0.5368 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000767/0.3572, allocations: 223.9 kB / 0.537 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3572, allocations: 1.125 kB / 0.537 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3572, allocations: 4.75 kB / 0.537 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3572, allocations: 0 / 0.537 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.3582, allocations: 0.5217 MB / 0.5375 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3582, allocations: 0 / 0.5375 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.3584, allocations: 40.44 kB / 0.5376 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3584, allocations: 1.031 kB / 0.5376 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3584, allocations: 4.859 kB / 0.5376 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.3585, allocations: 0 / 0.5376 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3585, allocations: 1.031 kB / 0.5376 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006953/0.3592, allocations: 301.7 kB / 0.5379 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.068e-05/0.3592, allocations: 95.66 kB / 0.538 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.3593, allocations: 5.312 kB / 0.538 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.3595, allocations: 25.44 kB / 0.538 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.3595, allocations: 9.141 kB / 0.538 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.3596, allocations: 1.781 kB / 0.538 GB, free: 7.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.3597, allocations: 125 kB / 0.5381 GB, free: 7.301 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3597, allocations: 0.9375 kB / 0.5381 GB, free: 7.301 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003339/0.36, allocations: 49.23 kB / 0.5382 GB, free: 7.285 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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.002074/0.3621, allocations: 1.246 MB / 0.5394 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006618/0.3628, allocations: 164.8 kB / 0.5395 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.3628, allocations: 8 kB / 0.5395 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.3631, allocations: 90.44 kB / 0.5396 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.3635, allocations: 28.17 kB / 0.5397 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.3665, allocations: 1.931 MB / 0.5415 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.3668, allocations: 0.7065 MB / 0.5422 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.3669, allocations: 37.97 kB / 0.5423 GB, free: 3.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.367, allocations: 36.8 kB / 0.5423 GB, free: 3.895 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.367, allocations: 0 / 0.5423 GB, free: 3.895 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.3889, allocations: 4.446 MB / 0.5467 GB, free: 1.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.434, allocations: 7.75 kB / 0.5467 GB, free: 1 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,ramp.y,ramp1.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),der(t_new.y[1]),dummy,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,t_new.extrapolation,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.u1[1],t_new.u2[1],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time