Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001588/0.001589, allocations: 202 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.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 75.88 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3649, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002902/0.3678, allocations: 1.603 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.3695, allocations: 1.167 MB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.3696, allocations: 1.25 kB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.3699, allocations: 19.7 kB / 0.5332 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.3702, allocations: 90.3 kB / 0.5333 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.3705, allocations: 113.8 kB / 0.5334 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.3707, allocations: 58.44 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3708, allocations: 19.28 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.213e-05/0.3709, allocations: 21.72 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.371, allocations: 47.42 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.3711, allocations: 3.656 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.3712, allocations: 92.58 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.3713, allocations: 19.69 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.3713, allocations: 23.67 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.3716, allocations: 142.1 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3716, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3716, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3716, allocations: 0 / 0.5339 GB, free: 10.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005187/0.3721, allocations: 400.8 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3722, allocations: 12.75 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.3722, allocations: 32.19 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.3723, allocations: 7.844 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.3725, allocations: 204.7 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3726, allocations: 1.781 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.3726, allocations: 5.766 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3727, allocations: 68.14 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3728, allocations: 0 / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3728, allocations: 5.375 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3728, allocations: 0 / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.533e-05/0.3729, allocations: 27.05 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.3733, allocations: 282.8 kB / 0.5349 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.3735, allocations: 49.8 kB / 0.5349 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.3736, allocations: 15.73 kB / 0.5349 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3736, allocations: 1.375 kB / 0.5349 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.3736, allocations: 34.56 kB / 0.5349 GB, free: 9.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.3736, allocations: 0 / 0.5349 GB, free: 9.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000581/0.3742, allocations: 147.4 kB / 0.5351 GB, free: 9.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.3743, allocations: 82.48 kB / 0.5352 GB, free: 9.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.3745, allocations: 151.5 kB / 0.5353 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3745, allocations: 25.7 kB / 0.5353 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.3745, allocations: 96.25 kB / 0.5354 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.3746, allocations: 21.02 kB / 0.5354 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.3746, allocations: 19.22 kB / 0.5355 GB, free: 9.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.3747, allocations: 325.5 kB / 0.5358 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.974e-05/0.3748, allocations: 22.92 kB / 0.5358 GB, free: 8.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.968e-05/0.3749, allocations: 36.83 kB / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3751, allocations: 50.95 kB / 0.5359 GB, free: 8.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3751, allocations: 0 / 0.5359 GB, free: 8.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001912/0.3753, allocations: 92.19 kB / 0.536 GB, free: 8.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3753, allocations: 5.5 kB / 0.536 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3753, allocations: 32 / 0.536 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3753, allocations: 4 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.3754, allocations: 17.55 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3754, allocations: 1.375 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.3755, allocations: 6.688 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3755, allocations: 5.359 kB / 0.536 GB, free: 8.723 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 (5): * Single equations (assignments): 5 * 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.427e-05/0.3756, allocations: 115.3 kB / 0.5361 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.3756, allocations: 6.656 kB / 0.5361 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.3759, allocations: 100.3 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3759, allocations: 1.375 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3759, allocations: 0 / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3759, allocations: 3.938 kB / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.3763, allocations: 360.3 kB / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3764, allocations: 0 / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.428e-05/0.3764, allocations: 17.09 kB / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3764, allocations: 5.031 kB / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3765, allocations: 9.047 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3765, allocations: 0 / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3765, allocations: 1.219 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.3767, allocations: 181.5 kB / 0.5368 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.3768, allocations: 79.42 kB / 0.5369 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.3768, allocations: 9.188 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/0.3769, allocations: 7.906 kB / 0.5369 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.3769, allocations: 5.734 kB / 0.5369 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.3769, allocations: 5.406 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.816e-05/0.377, allocations: 120.4 kB / 0.537 GB, free: 7.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.377, allocations: 0.9062 kB / 0.537 GB, free: 7.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.3773, allocations: 35.75 kB / 0.537 GB, free: 7.762 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 (5): * Single equations (assignments): 5 * 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.001489/0.3788, allocations: 1.102 MB / 0.5381 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.379, allocations: 55.22 kB / 0.5382 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3791, allocations: 3.938 kB / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.089e-05/0.3791, allocations: 29.28 kB / 0.5382 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.3795, allocations: 29.27 kB / 0.5382 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.3812, allocations: 1.442 MB / 0.5396 GB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.3815, allocations: 0.6943 MB / 0.5403 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.519e-05/0.3816, allocations: 21.53 kB / 0.5403 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.3816, allocations: 34.58 kB / 0.5404 GB, free: 4.785 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3816, allocations: 0 / 0.5404 GB, free: 4.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.406, allocations: 3.255 MB / 0.5435 GB, free: 2.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/7.916, allocations: 6.109 kB / 0.5435 GB, free: 2.91 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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 Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),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.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time