Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001694/0.001694, allocations: 117.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 208.6 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 75.88 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3241, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003034/0.3272, allocations: 1.726 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.33, allocations: 1.629 MB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.872e-05/0.3301, allocations: 0 / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003978/0.3305, allocations: 37.39 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.3309, allocations: 104.4 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.3312, allocations: 74.97 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.3314, allocations: 106.3 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.3315, allocations: 10.86 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3316, allocations: 53.66 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.3318, allocations: 41.52 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.3319, allocations: 5.5 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.3321, allocations: 115 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.3322, allocations: 16.05 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.3323, allocations: 29.44 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.3326, allocations: 169.1 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3326, allocations: 0 / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3326, allocations: 0 / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3327, allocations: 3.984 kB / 0.5346 GB, free: 10.29 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.0006848/0.3334, allocations: 442.4 kB / 0.535 GB, free: 9.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3334, allocations: 9.625 kB / 0.535 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.3335, allocations: 32.12 kB / 0.5351 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.3335, allocations: 12.97 kB / 0.5351 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.3339, allocations: 215.9 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.3339, allocations: 1.375 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3339, allocations: 5.359 kB / 0.5353 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3341, allocations: 78.23 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3341, allocations: 5.328 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3341, allocations: 0 / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3342, allocations: 1.312 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.895e-05/0.3342, allocations: 18.39 kB / 0.5354 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.3346, allocations: 281.4 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.3348, allocations: 65.83 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.957e-05/0.3349, allocations: 21.91 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.3349, allocations: 0 / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.3351, allocations: 65.73 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3351, allocations: 0 / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006104/0.3357, allocations: 173.1 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.3358, allocations: 91.17 kB / 0.5361 GB, free: 8.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.336, allocations: 166.1 kB / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.336, allocations: 26.73 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.3361, allocations: 100.3 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.3362, allocations: 24.2 kB / 0.5364 GB, free: 8.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.3362, allocations: 20.69 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3364, allocations: 321 kB / 0.5367 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-05/0.3365, allocations: 27.89 kB / 0.5367 GB, free: 8.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-05/0.3366, allocations: 45.12 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.3367, allocations: 58.89 kB / 0.5368 GB, free: 8.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3367, allocations: 0 / 0.5368 GB, free: 8.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002197/0.3369, allocations: 99.27 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.337, allocations: 5.594 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.337, allocations: 4.062 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.337, allocations: 1.062 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3371, allocations: 21.11 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3371, allocations: 1.188 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.458e-05/0.3372, allocations: 7.531 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3372, allocations: 2.281 kB / 0.5369 GB, free: 8.035 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.0001132/0.3373, allocations: 128.1 kB / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.3374, allocations: 14.09 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/0.3374, allocations: 11.44 kB / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.3374, allocations: 13.03 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3374, allocations: 1.344 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3374, allocations: 0 / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.3379, allocations: 397.2 kB / 0.5375 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3379, allocations: 7.922 kB / 0.5375 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.338, allocations: 7.75 kB / 0.5375 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.338, allocations: 0 / 0.5375 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.338, allocations: 2.062 kB / 0.5375 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.338, allocations: 5.094 kB / 0.5375 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.338, allocations: 1.094 kB / 0.5375 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.3383, allocations: 199.4 kB / 0.5377 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.3383, allocations: 100.9 kB / 0.5378 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.3384, allocations: 1.344 kB / 0.5378 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.3385, allocations: 2.594 kB / 0.5378 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.3385, allocations: 15.36 kB / 0.5378 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.3385, allocations: 2.406 kB / 0.5378 GB, free: 7.184 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.3387, allocations: 128.5 kB / 0.5379 GB, free: 7.086 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3387, allocations: 0 / 0.5379 GB, free: 7.086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.339, allocations: 46.33 kB / 0.538 GB, free: 7.07 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.001852/0.3409, allocations: 1.192 MB / 0.5391 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.3411, allocations: 57.95 kB / 0.5392 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3411, allocations: 1.031 kB / 0.5392 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.177e-05/0.3412, allocations: 33.06 kB / 0.5392 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3416, allocations: 38.12 kB / 0.5393 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.3435, allocations: 1.582 MB / 0.5408 GB, free: 4.691 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.3439, allocations: 0.703 MB / 0.5415 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.391e-05/0.3439, allocations: 24.16 kB / 0.5415 GB, free: 3.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.344, allocations: 33.42 kB / 0.5416 GB, free: 3.941 MB / 398.1 MB Notification: Performance of SimCode: time 6.62e-07/0.344, allocations: 0 / 0.5416 GB, free: 3.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.3684, allocations: 4.046 MB / 0.5455 GB, free: 1.695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.977, allocations: 12.05 kB / 0.5455 GB, free: 1.688 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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