Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 80.08 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3254, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002787/0.3282, allocations: 1.733 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.3304, allocations: 1.621 MB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.532e-05/0.3305, allocations: 5.312 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.3308, allocations: 41.33 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.3311, allocations: 98.98 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.3313, allocations: 79.55 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.3314, allocations: 102.1 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.3315, allocations: 10.44 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.209e-05/0.3316, allocations: 53.33 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.3318, allocations: 43.19 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.3318, allocations: 5.188 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.332, allocations: 111 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.3321, allocations: 24.28 kB / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.3321, allocations: 32.69 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.3324, allocations: 168.6 kB / 0.5346 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3324, allocations: 1.156 kB / 0.5346 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3324, allocations: 0 / 0.5346 GB, free: 10.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3324, allocations: 3.984 kB / 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.0005304/0.333, allocations: 426.6 kB / 0.535 GB, free: 9.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.333, allocations: 9.375 kB / 0.535 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.415e-05/0.333, allocations: 35.75 kB / 0.5351 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.3331, allocations: 17.22 kB / 0.5351 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.3334, allocations: 220.5 kB / 0.5353 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3334, allocations: 1.219 kB / 0.5353 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.3334, allocations: 10.17 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.3336, allocations: 65.86 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3336, allocations: 0.9375 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3336, allocations: 0 / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.3336, allocations: 4.969 kB / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.488e-05/0.3337, allocations: 22.73 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.334, allocations: 282 kB / 0.5357 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.3342, allocations: 58.05 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.3343, allocations: 21.62 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3343, allocations: 5.344 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.3345, allocations: 68.55 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 6.883e-06/0.3345, allocations: 0 / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005068/0.335, allocations: 177.9 kB / 0.536 GB, free: 8.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.3351, allocations: 82.42 kB / 0.5361 GB, free: 8.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3352, allocations: 161 kB / 0.5362 GB, free: 8.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3352, allocations: 35.08 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.3353, allocations: 96.2 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.3353, allocations: 22.45 kB / 0.5364 GB, free: 8.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.3354, allocations: 21.97 kB / 0.5364 GB, free: 8.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.3355, allocations: 325.6 kB / 0.5367 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.619e-05/0.3355, allocations: 18.98 kB / 0.5367 GB, free: 8.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.554e-05/0.3356, allocations: 44.3 kB / 0.5368 GB, free: 8.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.3357, allocations: 67.77 kB / 0.5368 GB, free: 8.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3357, allocations: 0 / 0.5368 GB, free: 8.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001825/0.3359, allocations: 95 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.336, allocations: 5.469 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.336, allocations: 1.25 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.336, allocations: 1.344 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.3361, allocations: 27.92 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3361, allocations: 1.531 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.3362, allocations: 6.594 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3362, allocations: 2.281 kB / 0.5369 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.293e-05/0.3363, allocations: 124.4 kB / 0.5371 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.3363, allocations: 13.41 kB / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.3364, allocations: 12.12 kB / 0.5371 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3364, allocations: 9.062 kB / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3364, allocations: 1.062 kB / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3364, allocations: 0 / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.3368, allocations: 401.2 kB / 0.5375 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3368, allocations: 7.922 kB / 0.5375 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.3369, allocations: 12 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3369, allocations: 1.156 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3369, allocations: 1.094 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3369, allocations: 1.125 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3369, allocations: 1.188 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.3371, allocations: 203.1 kB / 0.5377 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.3372, allocations: 92.81 kB / 0.5378 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.3372, allocations: 1.25 kB / 0.5378 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.3373, allocations: 5.906 kB / 0.5378 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.3373, allocations: 15.62 kB / 0.5378 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3374, allocations: 3.344 kB / 0.5378 GB, free: 7.211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.3375, allocations: 127.8 kB / 0.5379 GB, free: 7.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3375, allocations: 4 kB / 0.5379 GB, free: 7.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.3378, allocations: 46.17 kB / 0.538 GB, free: 7.094 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.001564/0.3394, allocations: 1.19 MB / 0.5391 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.3396, allocations: 66.5 kB / 0.5392 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3396, allocations: 0 / 0.5392 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.884e-05/0.3396, allocations: 26.41 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.0003325/0.34, allocations: 32.47 kB / 0.5393 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.3417, allocations: 1.586 MB / 0.5408 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.342, allocations: 0.6988 MB / 0.5415 GB, free: 4.008 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.848e-05/0.3421, allocations: 24.98 kB / 0.5415 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.013e-05/0.3422, allocations: 33.58 kB / 0.5416 GB, free: 3.969 MB / 398.1 MB Notification: Performance of SimCode: time 1.623e-06/0.3422, allocations: 0 / 0.5416 GB, free: 3.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.3659, allocations: 4.052 MB / 0.5455 GB, free: 1.719 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.02, allocations: 9.812 kB / 0.5455 GB, free: 1.711 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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