Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001769/0.001769, 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.002334/0.002334, 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.395/1.395, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 76.28 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.342, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002726/0.3448, allocations: 1.737 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.3471, allocations: 1.632 MB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.312e-05/0.3472, allocations: 2.062 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.3475, allocations: 37.23 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.3478, allocations: 103.2 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.3481, allocations: 78.2 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.3482, allocations: 98.53 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.3483, allocations: 15.23 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.335e-05/0.3485, allocations: 48.84 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.3486, allocations: 42.91 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3486, allocations: 5.5 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.3488, allocations: 111 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.3489, allocations: 24.03 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.3489, allocations: 32.05 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.3492, allocations: 165.1 kB / 0.5346 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3493, allocations: 3.938 kB / 0.5346 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3493, allocations: 1.375 kB / 0.5346 GB, free: 10.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3493, allocations: 0 / 0.5346 GB, free: 10.31 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.0005442/0.3498, allocations: 430.6 kB / 0.535 GB, free: 9.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3499, allocations: 9.625 kB / 0.535 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.3499, allocations: 36.12 kB / 0.5351 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.35, allocations: 8.969 kB / 0.5351 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.3502, allocations: 222.7 kB / 0.5353 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3503, allocations: 1.375 kB / 0.5353 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.3503, allocations: 2.75 kB / 0.5353 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.3505, allocations: 74.45 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3505, allocations: 0 / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.3505, allocations: 0 / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3505, allocations: 1.375 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.305e-05/0.3506, allocations: 18.98 kB / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.3509, allocations: 289.5 kB / 0.5357 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.3511, allocations: 57.88 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.3512, allocations: 25.09 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.3512, allocations: 1.375 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.3513, allocations: 61.14 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.795e-06/0.3514, allocations: 0 / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005461/0.3519, allocations: 177.3 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.352, allocations: 86.3 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.3522, allocations: 163.1 kB / 0.5362 GB, free: 8.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.3522, allocations: 31.2 kB / 0.5362 GB, free: 8.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.3523, allocations: 99.81 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.3523, allocations: 23.61 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.3524, allocations: 32.92 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3525, allocations: 317 kB / 0.5367 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-05/0.3526, allocations: 26.7 kB / 0.5367 GB, free: 8.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.3526, allocations: 46.12 kB / 0.5368 GB, free: 8.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.3528, allocations: 55.16 kB / 0.5368 GB, free: 8.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3528, allocations: 0 / 0.5368 GB, free: 8.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001954/0.353, allocations: 103.3 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.353, allocations: 5.75 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.353, allocations: 8.062 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.353, allocations: 9.031 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.3531, allocations: 17.44 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3531, allocations: 1 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/0.3532, allocations: 2.125 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3532, allocations: 3.406 kB / 0.537 GB, free: 8.059 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.419e-05/0.3533, allocations: 127.7 kB / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.3533, allocations: 13.31 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.3534, allocations: 12.19 kB / 0.5371 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3534, allocations: 9.781 kB / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3534, allocations: 3.984 kB / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3534, allocations: 0 / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.3539, allocations: 392.2 kB / 0.5375 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3539, allocations: 5.125 kB / 0.5375 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.3539, allocations: 7.812 kB / 0.5375 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3539, allocations: 1.188 kB / 0.5375 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3539, allocations: 1.188 kB / 0.5375 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3539, allocations: 5.219 kB / 0.5375 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.3539, allocations: 1.125 kB / 0.5375 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.3542, allocations: 207.2 kB / 0.5377 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.3542, allocations: 88.3 kB / 0.5378 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.3543, allocations: 5.281 kB / 0.5378 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.913e-05/0.3544, allocations: 2.781 kB / 0.5378 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.3544, allocations: 12.11 kB / 0.5378 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.3544, allocations: 2.625 kB / 0.5378 GB, free: 7.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.3545, allocations: 127.6 kB / 0.5379 GB, free: 7.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3545, allocations: 0 / 0.5379 GB, free: 7.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000306/0.3548, allocations: 50.86 kB / 0.538 GB, free: 7.102 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.00161/0.3565, allocations: 1.198 MB / 0.5391 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.3567, allocations: 57.41 kB / 0.5392 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3567, allocations: 1.312 kB / 0.5392 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.384e-05/0.3568, allocations: 32.7 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.0003428/0.3571, allocations: 26.61 kB / 0.5393 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.3589, allocations: 1.589 MB / 0.5408 GB, free: 4.719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.3592, allocations: 0.6996 MB / 0.5415 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.3594, allocations: 19.58 kB / 0.5415 GB, free: 4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.3595, allocations: 42.59 kB / 0.5416 GB, free: 3.969 MB / 398.1 MB Notification: Performance of SimCode: time 1.883e-06/0.3595, allocations: 0 / 0.5416 GB, free: 3.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.3811, allocations: 4.055 MB / 0.5455 GB, free: 1.711 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.259, allocations: 14.66 kB / 0.5455 GB, free: 1.703 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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