Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",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.00157/0.001569, 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.002426/0.002426, allocations: 187.9 kB / 18.71 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.366/1.366, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2121/0.2121, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3424, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003119/0.3456, allocations: 1.584 MB / 0.52 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008515/0.3464, allocations: 414.4 kB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.02e-05/0.3466, allocations: 5.125 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.3469, allocations: 106.2 kB / 0.5205 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.3472, allocations: 78.14 kB / 0.5206 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.3476, allocations: 110.4 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.3479, allocations: 76.81 kB / 0.5207 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.348, allocations: 14.53 kB / 0.5208 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.3481, allocations: 47.03 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.3482, allocations: 69.73 kB / 0.5209 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.3483, allocations: 7.562 kB / 0.5209 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.3484, allocations: 38.75 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.3485, allocations: 26.42 kB / 0.5209 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.3485, allocations: 31.05 kB / 0.521 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.3488, allocations: 111 kB / 0.5211 GB, free: 1.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3488, allocations: 0 / 0.5211 GB, free: 1.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3488, allocations: 3.938 kB / 0.5211 GB, free: 1.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.3488, allocations: 1.219 kB / 0.5211 GB, free: 1.656 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005903/0.3494, allocations: 423.9 kB / 0.5215 GB, free: 1.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.3495, allocations: 9.156 kB / 0.5215 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.3495, allocations: 33.58 kB / 0.5215 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.3496, allocations: 14.38 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.3498, allocations: 203.7 kB / 0.5217 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3498, allocations: 1.562 kB / 0.5217 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.3499, allocations: 14.45 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.35, allocations: 49.73 kB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.3501, allocations: 1.188 kB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3501, allocations: 0 / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3501, allocations: 5.156 kB / 0.5218 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3502, allocations: 38.19 kB / 0.5218 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.3506, allocations: 308.2 kB / 0.5221 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.3508, allocations: 44.95 kB / 0.5222 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.3508, allocations: 24.5 kB / 0.5222 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.3509, allocations: 4 kB / 0.5222 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.3509, allocations: 36.38 kB / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3509, allocations: 0 / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009065/0.3518, allocations: 240.4 kB / 0.5225 GB, free: 432 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.3519, allocations: 56 kB / 0.5225 GB, free: 364 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.3521, allocations: 239.2 kB / 0.5227 GB, free: 220 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.3521, allocations: 27.14 kB / 0.5228 GB, free: 188 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.3521, allocations: 109.4 kB / 0.5229 GB, free: 84 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.3522, allocations: 29.67 kB / 0.5229 GB, free: 60 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.3522, allocations: 21.05 kB / 0.5229 GB, free: 40 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3524, allocations: 323.5 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.502e-05/0.3524, allocations: 34.44 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.3525, allocations: 30.19 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.3527, allocations: 79.83 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3527, allocations: 5.188 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002524/0.353, allocations: 105.1 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.353, allocations: 5.031 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.353, allocations: 4.75 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.353, allocations: 1.25 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3531, allocations: 17.89 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3532, allocations: 3.938 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.3532, allocations: 8.844 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.3532, allocations: 3 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001137/0.3533, allocations: 135.9 kB / 0.5237 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.3534, allocations: 13.98 kB / 0.5237 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.3537, allocations: 133.3 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3537, allocations: 2.156 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3537, allocations: 7.875 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3537, allocations: 0.75 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.3543, allocations: 420.8 kB / 0.5242 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3543, allocations: 3.938 kB / 0.5242 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.3544, allocations: 21.78 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3544, allocations: 1.844 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3544, allocations: 2.844 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3544, allocations: 3.938 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3544, allocations: 0 / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.3547, allocations: 219.2 kB / 0.5244 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.3547, allocations: 96.55 kB / 0.5245 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.3548, allocations: 1.922 kB / 0.5245 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.3548, allocations: 9.266 kB / 0.5245 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.3549, allocations: 9.125 kB / 0.5246 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.3549, allocations: 2.594 kB / 0.5246 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.355, allocations: 183.4 kB / 0.5247 GB, free: 14.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.355, allocations: 1.969 kB / 0.5247 GB, free: 14.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.3553, allocations: 21.11 kB / 0.5248 GB, free: 14.62 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001568/0.3569, allocations: 1.108 MB / 0.5258 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.3572, allocations: 76.55 kB / 0.5259 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3572, allocations: 0 / 0.5259 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.644e-05/0.3573, allocations: 37.22 kB / 0.5259 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3577, allocations: 18.86 kB / 0.526 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.3598, allocations: 1.77 MB / 0.5277 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.36, allocations: 0.7144 MB / 0.5284 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.231e-05/0.3601, allocations: 26.17 kB / 0.5284 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.248e-05/0.3602, allocations: 32.83 kB / 0.5284 GB, free: 11.66 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3602, allocations: 0 / 0.5284 GB, free: 11.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.3796, allocations: 3.269 MB / 0.5316 GB, free: 10.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/7.866, allocations: 12.59 kB / 0.5316 GB, free: 10.16 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,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),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,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.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time