Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 183.9 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2105/0.2105, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3222, allocations: 60.82 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002491/0.3248, allocations: 1.74 MB / 0.5202 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3259, allocations: 0.8818 MB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.326, allocations: 1.156 kB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.3263, allocations: 104.8 kB / 0.5212 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.3265, allocations: 97.66 kB / 0.5213 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.3268, allocations: 118.4 kB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.327, allocations: 120.9 kB / 0.5215 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.003e-05/0.3271, allocations: 25.53 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.595e-05/0.3272, allocations: 63.78 kB / 0.5216 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.3273, allocations: 71.27 kB / 0.5217 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.3273, allocations: 5.719 kB / 0.5217 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.3274, allocations: 68.23 kB / 0.5217 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.3275, allocations: 32.19 kB / 0.5218 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.3276, allocations: 45.23 kB / 0.5218 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.3278, allocations: 157.5 kB / 0.5219 GB, free: 1.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3278, allocations: 0 / 0.5219 GB, free: 1.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3278, allocations: 0 / 0.5219 GB, free: 1.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.3278, allocations: 5.484 kB / 0.522 GB, free: 1.117 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004467/0.3283, allocations: 449.5 kB / 0.5224 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.3283, allocations: 9.938 kB / 0.5224 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.3283, allocations: 34.02 kB / 0.5224 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.3284, allocations: 16.44 kB / 0.5224 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.3286, allocations: 226 kB / 0.5227 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3286, allocations: 6.938 kB / 0.5227 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3286, allocations: 13.06 kB / 0.5227 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.3288, allocations: 72.89 kB / 0.5227 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3288, allocations: 5.25 kB / 0.5227 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3288, allocations: 0.7031 kB / 0.5227 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3288, allocations: 1.094 kB / 0.5227 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.3289, allocations: 35.2 kB / 0.5228 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.3293, allocations: 324.9 kB / 0.5231 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.3295, allocations: 78.98 kB / 0.5232 GB, free: 0 / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.85e-05/0.3296, allocations: 33.38 kB / 0.5232 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.3297, allocations: 1.781 kB / 0.5232 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.3298, allocations: 79.89 kB / 0.5233 GB, free: 15.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3299, allocations: 1.125 kB / 0.5233 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.000848/0.3307, allocations: 299.7 kB / 0.5236 GB, free: 15.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.3308, allocations: 59.25 kB / 0.5236 GB, free: 15.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.331, allocations: 247.3 kB / 0.5239 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.331, allocations: 35.31 kB / 0.5239 GB, free: 15.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.3311, allocations: 119.2 kB / 0.524 GB, free: 15.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.3312, allocations: 44.11 kB / 0.524 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.3312, allocations: 30.42 kB / 0.5241 GB, free: 15.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3313, allocations: 328.5 kB / 0.5244 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/0.3314, allocations: 40.56 kB / 0.5244 GB, free: 15.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.4e-05/0.3315, allocations: 62.89 kB / 0.5245 GB, free: 15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.3317, allocations: 102.9 kB / 0.5246 GB, free: 14.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3317, allocations: 0 / 0.5246 GB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002538/0.332, allocations: 158.4 kB / 0.5247 GB, free: 14.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.332, allocations: 5.188 kB / 0.5247 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.332, allocations: 0.625 kB / 0.5247 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.332, allocations: 9.75 kB / 0.5248 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3321, allocations: 34.33 kB / 0.5248 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3321, allocations: 1.312 kB / 0.5248 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.3322, allocations: 6.531 kB / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3322, allocations: 4.438 kB / 0.5248 GB, free: 14.84 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 (16): * Single equations (assignments): 16 * 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.0001097/0.3323, allocations: 133.5 kB / 0.5249 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.3324, allocations: 20.12 kB / 0.5249 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/0.3324, allocations: 24.78 kB / 0.525 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3324, allocations: 2.859 kB / 0.525 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3325, allocations: 4 kB / 0.525 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3325, allocations: 1.766 kB / 0.525 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.333, allocations: 0.4961 MB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3331, allocations: 1.156 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.3331, allocations: 18.81 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3331, allocations: 1.094 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3331, allocations: 4.078 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3332, allocations: 5.812 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3332, allocations: 1.156 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.3335, allocations: 267.3 kB / 0.5257 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.3335, allocations: 93.77 kB / 0.5258 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.3336, allocations: 11.28 kB / 0.5258 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.3336, allocations: 4.266 kB / 0.5258 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.3337, allocations: 16.92 kB / 0.5259 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.3337, allocations: 6.484 kB / 0.5259 GB, free: 13.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.3339, allocations: 183.9 kB / 0.526 GB, free: 13.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3339, allocations: 1.562 kB / 0.526 GB, free: 13.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.3341, allocations: 32.62 kB / 0.5261 GB, free: 13.86 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 (14): * Single equations (assignments): 12 * 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.001572/0.3357, allocations: 1.21 MB / 0.5273 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.336, allocations: 100.5 kB / 0.5274 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.336, allocations: 0 / 0.5274 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.3361, allocations: 51.02 kB / 0.5274 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.3365, allocations: 42.42 kB / 0.5274 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.3385, allocations: 1.98 MB / 0.5294 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.3388, allocations: 0.727 MB / 0.5301 GB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.634e-05/0.3388, allocations: 23.75 kB / 0.5301 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.533e-05/0.3389, allocations: 54.62 kB / 0.5302 GB, free: 10.68 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3389, allocations: 0 / 0.5302 GB, free: 10.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.3574, allocations: 4.318 MB / 0.5344 GB, free: 8.543 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.271, allocations: 16.25 kB / 0.5344 GB, free: 8.535 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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,d_t_new2.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,d_t_new2.u,d_t_new2.y,der(d2_t_new.u),der(d_t_new.u),der(d_t_new2.u),t_new.columns[1],t_new.columns[2],t_new.extrapolation,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