Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001246/0.001246, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001543/0.001543, allocations: 197.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.395/1.395, 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.2048/0.2048, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 79.88 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3054, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003212/0.3086, allocations: 1.699 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3097, allocations: 0.5748 MB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.3098, allocations: 1.125 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.31, allocations: 23.38 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.3103, allocations: 84.08 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.3107, allocations: 137.8 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.3109, allocations: 92.06 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.311, allocations: 16.92 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.339e-05/0.3111, allocations: 37.41 kB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.3111, allocations: 46.83 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.3112, allocations: 7.031 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.3114, allocations: 111.3 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.73e-05/0.3114, allocations: 24.92 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.3115, allocations: 31.05 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.3118, allocations: 173 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3118, allocations: 0 / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3118, allocations: 0 / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3118, allocations: 1.375 kB / 0.5335 GB, free: 11.14 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.0006213/0.3124, allocations: 441.5 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3125, allocations: 8.25 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.973e-05/0.3125, allocations: 40.12 kB / 0.534 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.3126, allocations: 10.34 kB / 0.534 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.3128, allocations: 206.1 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.3128, allocations: 1.75 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.3128, allocations: 3.125 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.3131, allocations: 97.36 kB / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3131, allocations: 0 / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3132, allocations: 5.375 kB / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3132, allocations: 0 / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.3135, allocations: 66.42 kB / 0.5343 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.3139, allocations: 316.2 kB / 0.5346 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.3141, allocations: 68.78 kB / 0.5347 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.3143, allocations: 48.31 kB / 0.5348 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3143, allocations: 0 / 0.5348 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.3144, allocations: 31.94 kB / 0.5348 GB, free: 9.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.3144, allocations: 5.375 kB / 0.5348 GB, free: 9.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.00155/0.3159, allocations: 389.8 kB / 0.5352 GB, free: 9.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/0.316, allocations: 77.89 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.3162, allocations: 170.7 kB / 0.5354 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.3162, allocations: 30.67 kB / 0.5354 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.3163, allocations: 104.6 kB / 0.5355 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.3163, allocations: 27.47 kB / 0.5356 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.3164, allocations: 24.17 kB / 0.5356 GB, free: 9.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3165, allocations: 318.8 kB / 0.5359 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.3168, allocations: 73.22 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.3171, allocations: 87.48 kB / 0.536 GB, free: 8.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/0.3177, allocations: 150.6 kB / 0.5362 GB, free: 8.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3177, allocations: 0 / 0.5362 GB, free: 8.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006333/0.3183, allocations: 192.5 kB / 0.5364 GB, free: 8.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3183, allocations: 5.25 kB / 0.5364 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3183, allocations: 5.453 kB / 0.5364 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3184, allocations: 0 / 0.5364 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.3186, allocations: 34.69 kB / 0.5364 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3186, allocations: 3.938 kB / 0.5364 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.3187, allocations: 30.45 kB / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3188, allocations: 6.625 kB / 0.5364 GB, free: 8.613 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 9.578e-05/0.3189, allocations: 119.9 kB / 0.5366 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.3189, allocations: 12.19 kB / 0.5366 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000666/0.3196, allocations: 214.3 kB / 0.5368 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3196, allocations: 1.219 kB / 0.5368 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3196, allocations: 5.406 kB / 0.5368 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3196, allocations: 0 / 0.5368 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009139/0.3205, allocations: 0.4903 MB / 0.5373 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3206, allocations: 1.125 kB / 0.5373 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.3207, allocations: 35.72 kB / 0.5373 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.3208, allocations: 5.047 kB / 0.5373 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3208, allocations: 1.125 kB / 0.5373 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3208, allocations: 0 / 0.5373 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3208, allocations: 1.125 kB / 0.5373 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.3215, allocations: 289.3 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.3215, allocations: 100.1 kB / 0.5377 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.3216, allocations: 1 kB / 0.5377 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.3217, allocations: 29.52 kB / 0.5377 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.3218, allocations: 12.55 kB / 0.5377 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3218, allocations: 2.219 kB / 0.5377 GB, free: 7.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.3219, allocations: 122.6 kB / 0.5378 GB, free: 7.457 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3219, allocations: 0 / 0.5378 GB, free: 7.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003094/0.3223, allocations: 53.27 kB / 0.5379 GB, free: 7.438 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.001934/0.3242, allocations: 1.215 MB / 0.5391 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006477/0.3249, allocations: 160.4 kB / 0.5392 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3249, allocations: 5.125 kB / 0.5392 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.3252, allocations: 78.05 kB / 0.5393 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.3255, allocations: 29.5 kB / 0.5393 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.3287, allocations: 1.847 MB / 0.5411 GB, free: 4.883 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.329, allocations: 0.7033 MB / 0.5418 GB, free: 4.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.3291, allocations: 21.2 kB / 0.5418 GB, free: 4.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.049e-05/0.3292, allocations: 36.95 kB / 0.5419 GB, free: 4.129 MB / 398.1 MB Notification: Performance of SimCode: time 2.725e-06/0.3292, allocations: 0 / 0.5419 GB, free: 4.129 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.3559, allocations: 4.327 MB / 0.5461 GB, free: 1.566 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/8.028, allocations: 4.938 kB / 0.5461 GB, free: 1.562 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y,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(ramp.y),der(ramp1.y),der(t_new.y),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.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.u1,t_new.u2,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,time