Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",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.001418/0.001418, allocations: 113.4 kB / 17.78 MB, free: 5.266 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.001676/0.001676, allocations: 188.9 kB / 18.71 MB, free: 4.344 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.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2049/0.2049, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3316, allocations: 60.83 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002793/0.3344, allocations: 1.576 MB / 0.52 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007011/0.3352, allocations: 413.7 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.636e-05/0.3352, allocations: 1.125 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.3355, allocations: 80.19 kB / 0.5205 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.3358, allocations: 64.11 kB / 0.5205 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.3361, allocations: 115.2 kB / 0.5206 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.3363, allocations: 75.16 kB / 0.5207 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3364, allocations: 15.39 kB / 0.5207 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.3365, allocations: 37.64 kB / 0.5208 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.3366, allocations: 57.5 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.3367, allocations: 7.5 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.3368, allocations: 39.02 kB / 0.5209 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.3369, allocations: 19.09 kB / 0.5209 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.3369, allocations: 30.72 kB / 0.5209 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.3371, allocations: 103.7 kB / 0.521 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3372, allocations: 0 / 0.521 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3372, allocations: 3.938 kB / 0.521 GB, free: 1.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.3372, allocations: 0 / 0.521 GB, free: 1.684 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.0005003/0.3377, allocations: 403.3 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3377, allocations: 9.438 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.828e-05/0.3378, allocations: 37.28 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.3378, allocations: 9.406 kB / 0.5214 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.338, allocations: 203 kB / 0.5216 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.338, allocations: 5.844 kB / 0.5216 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.3381, allocations: 6.125 kB / 0.5216 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.3382, allocations: 52.98 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3383, allocations: 5.797 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3383, allocations: 4 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3383, allocations: 1.156 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.3384, allocations: 30.39 kB / 0.5217 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.3388, allocations: 296.8 kB / 0.522 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.3389, allocations: 45.06 kB / 0.5221 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.339, allocations: 19.08 kB / 0.5221 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.339, allocations: 2.109 kB / 0.5221 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.3391, allocations: 38.56 kB / 0.5221 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3391, allocations: 0.9688 kB / 0.5221 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009095/0.34, allocations: 238.4 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.34, allocations: 68.59 kB / 0.5224 GB, free: 412 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.3402, allocations: 203.4 kB / 0.5226 GB, free: 280 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.3402, allocations: 25.7 kB / 0.5226 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.3403, allocations: 112 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.3403, allocations: 26.09 kB / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.3404, allocations: 21.3 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3405, allocations: 322.9 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.571e-05/0.3406, allocations: 32.7 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.3407, allocations: 31.34 kB / 0.5232 GB, free: 15.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.3409, allocations: 72.31 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3409, allocations: 0 / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002384/0.3411, allocations: 116.2 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3412, allocations: 10.53 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3412, allocations: 0 / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3412, allocations: 4 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.877e-05/0.3413, allocations: 17.95 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3413, allocations: 4.5 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.3414, allocations: 4.391 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.3414, allocations: 3.344 kB / 0.5234 GB, free: 15.66 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.0001024/0.3415, allocations: 127.4 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.3415, allocations: 9.688 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.3418, allocations: 129.8 kB / 0.5236 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3418, allocations: 2.094 kB / 0.5236 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3419, allocations: 5.375 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3419, allocations: 0.75 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.3425, allocations: 419.5 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3425, allocations: 5.5 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.567e-05/0.3426, allocations: 16.02 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.3426, allocations: 5.734 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3426, allocations: 0.7812 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3426, allocations: 5.656 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3427, allocations: 1.062 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.343, allocations: 210.1 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.3431, allocations: 91.81 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.3431, allocations: 7.047 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3432, allocations: 13.03 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.3433, allocations: 5.562 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.3433, allocations: 2.094 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.3435, allocations: 157.3 kB / 0.5245 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3435, allocations: 0 / 0.5245 GB, free: 14.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003934/0.3439, allocations: 18.67 kB / 0.5246 GB, free: 14.71 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.001964/0.3459, allocations: 1.097 MB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.3461, allocations: 74.73 kB / 0.5257 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3461, allocations: 1.719 kB / 0.5257 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.149e-05/0.3462, allocations: 41.41 kB / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.3466, allocations: 17.91 kB / 0.5258 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.3485, allocations: 1.682 MB / 0.5274 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.3488, allocations: 0.7167 MB / 0.5281 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.907e-05/0.3489, allocations: 23.7 kB / 0.5281 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.599e-05/0.349, allocations: 32.98 kB / 0.5282 GB, free: 11.76 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.349, allocations: 0 / 0.5282 GB, free: 11.76 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.3692, allocations: 3.089 MB / 0.5312 GB, free: 10.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/7.857, allocations: 13.92 kB / 0.5312 GB, free: 10.38 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time