Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, allocations: 122.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.00118/0.00118, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, 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.2102/0.2102, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 76.09 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3828, allocations: 62.43 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.00341/0.3863, allocations: 1.735 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.3887, allocations: 1.628 MB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.718e-05/0.3888, allocations: 9.312 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.3892, allocations: 37.39 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.3896, allocations: 99.03 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.3898, allocations: 74.98 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.39, allocations: 106.3 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3902, allocations: 10.86 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3903, allocations: 49.59 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.3905, allocations: 42.97 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.3905, allocations: 5.5 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.3908, allocations: 109.6 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.3908, allocations: 21.42 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.631e-05/0.3909, allocations: 36.03 kB / 0.5345 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.3912, allocations: 165.1 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3912, allocations: 0 / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.3913, allocations: 1.375 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3913, allocations: 0 / 0.5346 GB, free: 10.3 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.0006946/0.392, allocations: 437.7 kB / 0.535 GB, free: 9.859 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.392, allocations: 9.938 kB / 0.535 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.35e-05/0.3921, allocations: 40.02 kB / 0.5351 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.3922, allocations: 8.75 kB / 0.5351 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.3926, allocations: 220.2 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.3926, allocations: 0.6875 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.3926, allocations: 2.219 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.3928, allocations: 66.39 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3929, allocations: 7.938 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3929, allocations: 1.75 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3929, allocations: 0 / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.177e-05/0.393, allocations: 23.3 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.3935, allocations: 288.9 kB / 0.5357 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.3937, allocations: 57.5 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.785e-05/0.3938, allocations: 25.62 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.3938, allocations: 1.031 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.394, allocations: 65.52 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.394, allocations: 3.938 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000668/0.3947, allocations: 169.7 kB / 0.536 GB, free: 8.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.3948, allocations: 82.2 kB / 0.5361 GB, free: 8.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.395, allocations: 169 kB / 0.5362 GB, free: 8.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.395, allocations: 26.77 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.3951, allocations: 104.5 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.3951, allocations: 15.31 kB / 0.5364 GB, free: 8.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.3951, allocations: 28.48 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3953, allocations: 322.2 kB / 0.5367 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.81e-05/0.3953, allocations: 18.44 kB / 0.5367 GB, free: 8.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.856e-05/0.3954, allocations: 49.91 kB / 0.5368 GB, free: 8.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.3955, allocations: 55.27 kB / 0.5368 GB, free: 8.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3955, allocations: 0 / 0.5368 GB, free: 8.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001877/0.3957, allocations: 107.4 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3957, allocations: 5.938 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3958, allocations: 4 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3958, allocations: 1.375 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.3959, allocations: 21.31 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3959, allocations: 1.031 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.3959, allocations: 6.391 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.396, allocations: 6.344 kB / 0.537 GB, free: 8.047 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 9.07e-05/0.3961, allocations: 125.8 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.3961, allocations: 13.44 kB / 0.5371 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.3961, allocations: 16.83 kB / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.3961, allocations: 5.312 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3962, allocations: 4 kB / 0.5371 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3962, allocations: 0 / 0.5371 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.3966, allocations: 392.2 kB / 0.5375 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3966, allocations: 5.219 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.3967, allocations: 6.906 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3967, allocations: 2.594 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3967, allocations: 5.125 kB / 0.5375 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3967, allocations: 3.984 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3967, allocations: 1.406 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.3969, allocations: 199.5 kB / 0.5377 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/0.397, allocations: 93.08 kB / 0.5378 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.397, allocations: 5.406 kB / 0.5378 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.3971, allocations: 6.266 kB / 0.5378 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.3972, allocations: 3.688 kB / 0.5378 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.3972, allocations: 10.8 kB / 0.5378 GB, free: 7.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.3973, allocations: 127.3 kB / 0.5379 GB, free: 7.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3973, allocations: 0 / 0.5379 GB, free: 7.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.3977, allocations: 49.98 kB / 0.538 GB, free: 7.09 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.00179/0.3995, allocations: 1.187 MB / 0.5391 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.3997, allocations: 58.28 kB / 0.5392 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3997, allocations: 0.75 kB / 0.5392 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.804e-05/0.3998, allocations: 33.3 kB / 0.5392 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.4001, allocations: 42.36 kB / 0.5393 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.4019, allocations: 1.582 MB / 0.5408 GB, free: 4.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.4021, allocations: 0.6964 MB / 0.5415 GB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.997e-05/0.4022, allocations: 19.62 kB / 0.5415 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/0.4023, allocations: 41.97 kB / 0.5416 GB, free: 3.961 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4023, allocations: 3.938 kB / 0.5416 GB, free: 3.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.4268, allocations: 4.052 MB / 0.5455 GB, free: 1.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/7.987, allocations: 8.906 kB / 0.5455 GB, free: 1.699 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time