Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001164, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 201.2 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.427/1.427, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 80.09 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3845, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003579/0.3882, allocations: 1.73 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.39, allocations: 1.026 MB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.728e-05/0.3901, allocations: 1.938 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.3905, allocations: 53.75 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.3908, allocations: 103.3 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.3911, allocations: 78.19 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.3913, allocations: 105.5 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.3914, allocations: 6.875 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3915, allocations: 48.27 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.11e-05/0.3916, allocations: 33.42 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.3917, allocations: 4.125 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.3918, allocations: 43.48 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.096e-05/0.3919, allocations: 30.91 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.3919, allocations: 49.23 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.3922, allocations: 131.3 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3922, allocations: 5.359 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3922, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3923, allocations: 0 / 0.534 GB, free: 10.82 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006328/0.3929, allocations: 439.8 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3929, allocations: 9.625 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.393, allocations: 32.12 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.393, allocations: 23.62 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.3933, allocations: 228.1 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3934, allocations: 1.75 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.3934, allocations: 5.312 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3936, allocations: 61.92 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3936, allocations: 1.375 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3936, allocations: 3.938 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3936, allocations: 1.375 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.554e-05/0.3937, allocations: 21.61 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.3941, allocations: 300.4 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.3943, allocations: 53.88 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.3943, allocations: 21.09 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.3944, allocations: 1.375 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.3945, allocations: 69.14 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3945, allocations: 0 / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005748/0.3951, allocations: 189.2 kB / 0.5353 GB, free: 9.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.3952, allocations: 52.56 kB / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.3955, allocations: 275.7 kB / 0.5357 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.3955, allocations: 26.77 kB / 0.5357 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.3956, allocations: 110.8 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.3956, allocations: 32.17 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.3957, allocations: 24.56 kB / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3958, allocations: 327.2 kB / 0.5362 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.923e-05/0.3959, allocations: 19.19 kB / 0.5362 GB, free: 8.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.696e-05/0.396, allocations: 39.52 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.3961, allocations: 58.52 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3961, allocations: 5.5 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001865/0.3963, allocations: 105 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3963, allocations: 4.5 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3963, allocations: 1.156 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3963, allocations: 1.125 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.3964, allocations: 21.17 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3964, allocations: 1.094 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.708e-05/0.3965, allocations: 10.25 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3965, allocations: 2.406 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001169/0.3966, allocations: 141.8 kB / 0.5366 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.3967, allocations: 18.67 kB / 0.5366 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.064e-05/0.3967, allocations: 17.31 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3967, allocations: 1.125 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3968, allocations: 0 / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3968, allocations: 8.969 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004798/0.3973, allocations: 408 kB / 0.537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3973, allocations: 5.562 kB / 0.537 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.3973, allocations: 11.33 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3973, allocations: 9.125 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3973, allocations: 1.219 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3973, allocations: 1.188 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3973, allocations: 0 / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.3976, allocations: 214.9 kB / 0.5372 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.3977, allocations: 84.42 kB / 0.5373 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.3977, allocations: 9.078 kB / 0.5373 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.3978, allocations: 6.406 kB / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.3978, allocations: 3.25 kB / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.3978, allocations: 8.641 kB / 0.5373 GB, free: 7.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001863/0.398, allocations: 197.5 kB / 0.5375 GB, free: 7.547 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.398, allocations: 1.531 kB / 0.5375 GB, free: 7.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.3983, allocations: 29.48 kB / 0.5375 GB, free: 7.535 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001501/0.3998, allocations: 1.102 MB / 0.5386 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.4, allocations: 58.48 kB / 0.5387 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4, allocations: 0 / 0.5387 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.376e-05/0.4001, allocations: 29.34 kB / 0.5387 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.4005, allocations: 31.86 kB / 0.5387 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.4025, allocations: 1.837 MB / 0.5405 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.4028, allocations: 0.7129 MB / 0.5412 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.994e-05/0.4029, allocations: 18.28 kB / 0.5412 GB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.403, allocations: 43.95 kB / 0.5413 GB, free: 4.348 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.403, allocations: 4 kB / 0.5413 GB, free: 4.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.4247, allocations: 3.817 MB / 0.545 GB, free: 2.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.64/8.065, allocations: 16.77 kB / 0.545 GB, free: 2.293 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,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.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time