Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",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.001413/0.001413, allocations: 110.4 kB / 17.78 MB, free: 5.27 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.001506/0.001506, allocations: 183.8 kB / 18.71 MB, free: 4.348 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.514/1.514, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2132/0.2132, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3171, allocations: 60.83 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003555/0.3207, allocations: 1.706 MB / 0.5202 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.3222, allocations: 0.8659 MB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.3224, allocations: 0 / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.3228, allocations: 49.02 kB / 0.5211 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.3231, allocations: 63.36 kB / 0.5211 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.3235, allocations: 113.7 kB / 0.5212 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.3237, allocations: 96.2 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3238, allocations: 7.203 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3239, allocations: 45.23 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.324, allocations: 30.52 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.324, allocations: 4.156 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.3242, allocations: 42.33 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.575e-05/0.3243, allocations: 32 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.83e-05/0.3243, allocations: 46.53 kB / 0.5215 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.3246, allocations: 127.2 kB / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3246, allocations: 4.5 kB / 0.5217 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3246, allocations: 1.406 kB / 0.5217 GB, free: 1.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.3246, allocations: 3.938 kB / 0.5217 GB, free: 1.195 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005678/0.3252, allocations: 439.4 kB / 0.5221 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3253, allocations: 9.969 kB / 0.5221 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.3253, allocations: 32.53 kB / 0.5221 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.3254, allocations: 15.97 kB / 0.5221 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.3257, allocations: 222 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3257, allocations: 6.875 kB / 0.5224 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.3257, allocations: 6.125 kB / 0.5224 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.3258, allocations: 54.09 kB / 0.5224 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3259, allocations: 4 kB / 0.5224 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3259, allocations: 5.125 kB / 0.5224 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3259, allocations: 0.7969 kB / 0.5224 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.87e-05/0.326, allocations: 18.66 kB / 0.5224 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.3263, allocations: 292.5 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.3265, allocations: 60.44 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.3266, allocations: 24.23 kB / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.3266, allocations: 1.375 kB / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.3267, allocations: 66.06 kB / 0.5229 GB, free: 40 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.3268, allocations: 0 / 0.5229 GB, free: 40 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006072/0.3274, allocations: 179.3 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.3274, allocations: 56.95 kB / 0.5231 GB, free: 15.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.3277, allocations: 273.4 kB / 0.5233 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3277, allocations: 27.88 kB / 0.5234 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.3278, allocations: 111 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.3278, allocations: 30.12 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.3279, allocations: 23 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.328, allocations: 328.1 kB / 0.5238 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-05/0.3281, allocations: 24.69 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.688e-05/0.3281, allocations: 39.27 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.3282, allocations: 54.12 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3283, allocations: 0 / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002018/0.3285, allocations: 106.9 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3285, allocations: 5.094 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3285, allocations: 2.344 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3285, allocations: 1.25 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.835e-05/0.3286, allocations: 18.89 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3286, allocations: 5.578 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/0.3287, allocations: 6.828 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.3287, allocations: 2.859 kB / 0.5241 GB, free: 15.08 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.0001126/0.3288, allocations: 137.5 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.3289, allocations: 14.78 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.3289, allocations: 23.47 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3289, allocations: 1.25 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3289, allocations: 1.188 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.329, allocations: 8.922 kB / 0.5243 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004685/0.3294, allocations: 401.2 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3294, allocations: 1.984 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.3295, allocations: 11.81 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3295, allocations: 5.875 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3295, allocations: 2.047 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3295, allocations: 1.312 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3295, allocations: 1.375 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.3298, allocations: 213.8 kB / 0.5249 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.3298, allocations: 93.77 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3299, allocations: 13.66 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.3299, allocations: 4.047 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.33, allocations: 5.578 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.33, allocations: 3.75 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.3302, allocations: 209.1 kB / 0.5252 GB, free: 14.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3302, allocations: 0 / 0.5252 GB, free: 14.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.3305, allocations: 21.58 kB / 0.5252 GB, free: 14.15 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.001384/0.3318, allocations: 1.098 MB / 0.5263 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.332, allocations: 58.38 kB / 0.5263 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3321, allocations: 0 / 0.5263 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.223e-05/0.3321, allocations: 25.11 kB / 0.5264 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.3325, allocations: 40.78 kB / 0.5264 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.3345, allocations: 1.802 MB / 0.5282 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.3348, allocations: 0.7275 MB / 0.5289 GB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.07e-05/0.3348, allocations: 12.45 kB / 0.5289 GB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.3349, allocations: 40.91 kB / 0.5289 GB, free: 11.14 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3349, allocations: 0 / 0.5289 GB, free: 11.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.3559, allocations: 3.759 MB / 0.5326 GB, free: 9.445 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/7.947, allocations: 11.97 kB / 0.5326 GB, free: 9.438 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.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[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time