Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001204/0.001204, allocations: 117.8 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 207.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2226/0.2226, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 83.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3643, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003566/0.3679, allocations: 1.713 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.3703, allocations: 1.633 MB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.3704, allocations: 1.375 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.3707, allocations: 37.2 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.3712, allocations: 103.5 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.3715, allocations: 78.98 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.3717, allocations: 107.3 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3718, allocations: 9.359 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.3719, allocations: 46 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.3721, allocations: 50.45 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.3722, allocations: 5.219 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.3724, allocations: 102.8 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.3725, allocations: 24.5 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.773e-05/0.3726, allocations: 40.11 kB / 0.5345 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.3729, allocations: 169.7 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.373, allocations: 0 / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.165e-06/0.373, allocations: 0 / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.373, allocations: 1.125 kB / 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.0007224/0.3737, allocations: 426 kB / 0.535 GB, free: 9.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.3738, allocations: 9.469 kB / 0.535 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.3738, allocations: 35.75 kB / 0.5351 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.3739, allocations: 13.64 kB / 0.5351 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.3743, allocations: 223.4 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.3743, allocations: 6.125 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.3743, allocations: 2.812 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3745, allocations: 65.45 kB / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3746, allocations: 0 / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3746, allocations: 1.312 kB / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3746, allocations: 1.438 kB / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.091e-05/0.3747, allocations: 21.14 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.3751, allocations: 294.4 kB / 0.5357 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.3753, allocations: 50.31 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.3753, allocations: 25.38 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.3754, allocations: 0 / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.3755, allocations: 78.45 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3755, allocations: 0 / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005362/0.3761, allocations: 164.9 kB / 0.536 GB, free: 8.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.3762, allocations: 90.3 kB / 0.5361 GB, free: 8.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3763, allocations: 161 kB / 0.5362 GB, free: 8.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3764, allocations: 31.08 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.3764, allocations: 100.2 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.3764, allocations: 23.83 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.3765, allocations: 32.58 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.3766, allocations: 317.6 kB / 0.5367 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.007e-05/0.3767, allocations: 22.98 kB / 0.5367 GB, free: 8.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/0.3767, allocations: 41.69 kB / 0.5368 GB, free: 8.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.3769, allocations: 61.95 kB / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3769, allocations: 5.188 kB / 0.5368 GB, free: 8.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.3771, allocations: 94.56 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3771, allocations: 5.688 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3771, allocations: 1.188 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3771, allocations: 8.984 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.3772, allocations: 21.12 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3772, allocations: 1.094 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.597e-05/0.3773, allocations: 2.219 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3773, allocations: 2.188 kB / 0.5369 GB, free: 8.051 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.0001095/0.3774, allocations: 128.3 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.3775, allocations: 13.22 kB / 0.5371 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.3775, allocations: 12.94 kB / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3775, allocations: 4.969 kB / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3775, allocations: 0 / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3776, allocations: 5.109 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.378, allocations: 391.6 kB / 0.5375 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3781, allocations: 9.156 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.3781, allocations: 6.844 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3781, allocations: 1.219 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3781, allocations: 1.375 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3781, allocations: 1.5 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3781, allocations: 5.469 kB / 0.5375 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.3784, allocations: 203.9 kB / 0.5377 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.3785, allocations: 95.55 kB / 0.5378 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.3785, allocations: 10.34 kB / 0.5378 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/0.3786, allocations: 1.375 kB / 0.5378 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.3787, allocations: 12.03 kB / 0.5378 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3787, allocations: 2.719 kB / 0.5378 GB, free: 7.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.3788, allocations: 127.8 kB / 0.5379 GB, free: 7.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3788, allocations: 0 / 0.5379 GB, free: 7.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000319/0.3792, allocations: 50.08 kB / 0.538 GB, free: 7.086 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.001604/0.3808, allocations: 1.183 MB / 0.5391 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.381, allocations: 66.69 kB / 0.5392 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.381, allocations: 1.156 kB / 0.5392 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.566e-05/0.3811, allocations: 33.34 kB / 0.5392 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.3814, allocations: 30.84 kB / 0.5393 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.3833, allocations: 1.588 MB / 0.5408 GB, free: 4.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.3836, allocations: 0.6989 MB / 0.5415 GB, free: 4 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.956e-05/0.3837, allocations: 23.78 kB / 0.5415 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.3837, allocations: 41.56 kB / 0.5416 GB, free: 3.953 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3838, allocations: 0 / 0.5416 GB, free: 3.953 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03178/0.4155, allocations: 4.047 MB / 0.5455 GB, free: 1.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.692/8.107, allocations: 13.94 kB / 0.5455 GB, free: 1.695 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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