Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001706/0.001706, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001839/0.001839, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 83.75 kB / 481 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.359, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003084/0.3622, allocations: 1.737 MB / 0.5324 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.3641, allocations: 1.035 MB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.695e-05/0.3642, allocations: 1.312 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000397/0.3647, allocations: 102.8 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.3651, allocations: 129.2 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.3653, allocations: 78.83 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.3655, allocations: 132 kB / 0.5339 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3657, allocations: 16.19 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3658, allocations: 60.5 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.3659, allocations: 72.8 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.3659, allocations: 5.5 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.3661, allocations: 59.86 kB / 0.5341 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.075e-05/0.3662, allocations: 34.84 kB / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.147e-05/0.3662, allocations: 50.66 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.3666, allocations: 161.9 kB / 0.5343 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3666, allocations: 1.375 kB / 0.5343 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3666, allocations: 0 / 0.5343 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3666, allocations: 0 / 0.5343 GB, free: 10.65 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006696/0.3673, allocations: 470.1 kB / 0.5348 GB, free: 10.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3673, allocations: 9.625 kB / 0.5348 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.3674, allocations: 40.06 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.3674, allocations: 15.72 kB / 0.5348 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.3677, allocations: 221.7 kB / 0.535 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3678, allocations: 7.062 kB / 0.535 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.3678, allocations: 6.688 kB / 0.535 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.368, allocations: 67.53 kB / 0.5351 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.368, allocations: 0 / 0.5351 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.368, allocations: 1.375 kB / 0.5351 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.368, allocations: 5.375 kB / 0.5351 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.694e-05/0.3681, allocations: 28.48 kB / 0.5351 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.3686, allocations: 323 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.3688, allocations: 76.81 kB / 0.5355 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.6e-05/0.3689, allocations: 21.39 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.3689, allocations: 9.281 kB / 0.5355 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.3691, allocations: 81.33 kB / 0.5356 GB, free: 9.336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.3691, allocations: 0 / 0.5356 GB, free: 9.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008325/0.37, allocations: 272.1 kB / 0.5359 GB, free: 9.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.37, allocations: 60.47 kB / 0.5359 GB, free: 9.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.3703, allocations: 262.7 kB / 0.5362 GB, free: 8.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3704, allocations: 26.92 kB / 0.5362 GB, free: 8.914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.3705, allocations: 112.2 kB / 0.5363 GB, free: 8.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.3705, allocations: 41.44 kB / 0.5364 GB, free: 8.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.3706, allocations: 30.86 kB / 0.5364 GB, free: 8.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.3708, allocations: 324.6 kB / 0.5367 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.212e-05/0.3709, allocations: 32.48 kB / 0.5367 GB, free: 8.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.371, allocations: 54.27 kB / 0.5368 GB, free: 8.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3712, allocations: 92.52 kB / 0.5369 GB, free: 8.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3712, allocations: 1.094 kB / 0.5369 GB, free: 8.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000267/0.3715, allocations: 139 kB / 0.537 GB, free: 8.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3715, allocations: 11.59 kB / 0.537 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.3715, allocations: 3.984 kB / 0.537 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3715, allocations: 1.375 kB / 0.537 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/0.3716, allocations: 30.78 kB / 0.5371 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3716, allocations: 5.062 kB / 0.5371 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.3717, allocations: 10.06 kB / 0.5371 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3717, allocations: 4.281 kB / 0.5371 GB, free: 8.207 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 (14): * Single equations (assignments): 14 * 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.0001351/0.3718, allocations: 144.6 kB / 0.5372 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.3719, allocations: 19.84 kB / 0.5372 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.073e-05/0.372, allocations: 22.55 kB / 0.5373 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.372, allocations: 5.344 kB / 0.5373 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.257e-06/0.372, allocations: 0 / 0.5373 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.372, allocations: 0 / 0.5373 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00061/0.3726, allocations: 480.3 kB / 0.5377 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3726, allocations: 0 / 0.5377 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.045e-05/0.3727, allocations: 18.09 kB / 0.5377 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3727, allocations: 1.438 kB / 0.5377 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3727, allocations: 6.547 kB / 0.5377 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3727, allocations: 1.281 kB / 0.5377 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3727, allocations: 0 / 0.5377 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.373, allocations: 258.5 kB / 0.538 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.3731, allocations: 93.62 kB / 0.5381 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.3732, allocations: 6.312 kB / 0.5381 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.3732, allocations: 2.594 kB / 0.5381 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.3733, allocations: 13.58 kB / 0.5381 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.3733, allocations: 8.406 kB / 0.5381 GB, free: 7.266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.3735, allocations: 196.8 kB / 0.5383 GB, free: 7.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3735, allocations: 0 / 0.5383 GB, free: 7.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.3738, allocations: 34.56 kB / 0.5383 GB, free: 7.129 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002593/0.3764, allocations: 1.188 MB / 0.5395 GB, free: 6.227 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.3767, allocations: 91.11 kB / 0.5396 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3767, allocations: 5.125 kB / 0.5396 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.3768, allocations: 41.67 kB / 0.5396 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.3773, allocations: 32.47 kB / 0.5397 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.3798, allocations: 1.956 MB / 0.5416 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.3802, allocations: 0.7282 MB / 0.5423 GB, free: 3.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.486e-05/0.3803, allocations: 22.47 kB / 0.5423 GB, free: 3.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.3804, allocations: 50.98 kB / 0.5423 GB, free: 3.781 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3804, allocations: 0 / 0.5423 GB, free: 3.781 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.4082, allocations: 4.186 MB / 0.5464 GB, free: 1.363 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.478, allocations: 4.875 kB / 0.5464 GB, free: 1.359 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,d2_t_new.y Variables in the result:d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),t_new.columns[1],t_new.columns[2],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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time