Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",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.001592/0.001592, allocations: 106.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.001693/0.001693, allocations: 187.1 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.406/1.406, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2098/0.2098, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001554, allocations: 67.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3406, allocations: 60.82 MB / 0.5184 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.00284/0.3434, allocations: 1.579 MB / 0.52 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008417/0.3443, allocations: 418 kB / 0.5204 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.3444, allocations: 1.5 kB / 0.5204 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.3448, allocations: 110.5 kB / 0.5205 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.3451, allocations: 77.78 kB / 0.5206 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.3454, allocations: 107.5 kB / 0.5207 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.3456, allocations: 80.03 kB / 0.5208 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3457, allocations: 18.48 kB / 0.5208 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.917e-05/0.3458, allocations: 39.22 kB / 0.5208 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.3459, allocations: 69.58 kB / 0.5209 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.346, allocations: 3.312 kB / 0.5209 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3461, allocations: 44.17 kB / 0.5209 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.3461, allocations: 25.08 kB / 0.5209 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.3462, allocations: 34.16 kB / 0.521 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.3464, allocations: 112.1 kB / 0.5211 GB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3464, allocations: 0 / 0.5211 GB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3464, allocations: 0 / 0.5211 GB, free: 1.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3464, allocations: 1.344 kB / 0.5211 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.0004444/0.3469, allocations: 420 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3469, allocations: 13.91 kB / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.008e-05/0.347, allocations: 32.62 kB / 0.5215 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.347, allocations: 18.86 kB / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.3472, allocations: 202.7 kB / 0.5217 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3472, allocations: 2.531 kB / 0.5217 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.3472, allocations: 7.125 kB / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.3474, allocations: 56.73 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3474, allocations: 0.9375 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3474, allocations: 0 / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3474, allocations: 1.094 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.498e-05/0.3475, allocations: 33.98 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.3479, allocations: 308.4 kB / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.886e-05/0.348, allocations: 49.81 kB / 0.5222 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.348, allocations: 23.03 kB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.348, allocations: 1.094 kB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.3481, allocations: 36.67 kB / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.3481, allocations: 0 / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008278/0.3489, allocations: 241 kB / 0.5225 GB, free: 464 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.3489, allocations: 56.75 kB / 0.5225 GB, free: 396 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.3492, allocations: 238.3 kB / 0.5227 GB, free: 252 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.3492, allocations: 30.52 kB / 0.5228 GB, free: 216 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.3492, allocations: 109.7 kB / 0.5229 GB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.3493, allocations: 28.91 kB / 0.5229 GB, free: 88 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.3493, allocations: 25.52 kB / 0.5229 GB, free: 64 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3495, allocations: 323.8 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.987e-05/0.3496, allocations: 30.34 kB / 0.5233 GB, free: 15.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.177e-05/0.3497, allocations: 34.45 kB / 0.5233 GB, free: 15.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.3498, allocations: 71.25 kB / 0.5234 GB, free: 15.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3499, allocations: 1.156 kB / 0.5234 GB, free: 15.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002325/0.3501, allocations: 109.2 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3501, allocations: 5.312 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3501, allocations: 1.922 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3501, allocations: 0 / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.3503, allocations: 24.59 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.3503, allocations: 14.22 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.3503, allocations: 4.516 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.3503, allocations: 6.469 kB / 0.5235 GB, free: 15.62 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.0001275/0.3505, allocations: 128.6 kB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.3505, allocations: 13.41 kB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.3508, allocations: 129.4 kB / 0.5238 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.3509, allocations: 5 kB / 0.5238 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.3509, allocations: 14.64 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3509, allocations: 3.938 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005721/0.3515, allocations: 415 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3515, allocations: 6.016 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.302e-05/0.3516, allocations: 20.3 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.3516, allocations: 2.906 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.3516, allocations: 4.031 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3516, allocations: 2.828 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3516, allocations: 0 / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.3519, allocations: 214.3 kB / 0.5244 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.3519, allocations: 92.11 kB / 0.5245 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.352, allocations: 3 kB / 0.5245 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.352, allocations: 8.531 kB / 0.5245 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.3521, allocations: 10.09 kB / 0.5246 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3521, allocations: 2.656 kB / 0.5246 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.3523, allocations: 182.8 kB / 0.5247 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3523, allocations: 0 / 0.5247 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.3525, allocations: 21.2 kB / 0.5248 GB, free: 14.66 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.001533/0.3541, allocations: 1.105 MB / 0.5258 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.3543, allocations: 79.41 kB / 0.5259 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3543, allocations: 1.156 kB / 0.5259 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/0.3544, allocations: 38.23 kB / 0.5259 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.3548, allocations: 18.56 kB / 0.526 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.3569, allocations: 1.768 MB / 0.5277 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.3574, allocations: 0.7117 MB / 0.5284 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.037e-05/0.3575, allocations: 20.5 kB / 0.5284 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.3576, allocations: 40.97 kB / 0.5284 GB, free: 11.69 MB / 398.1 MB Notification: Performance of SimCode: time 1.333e-06/0.3576, allocations: 0 / 0.5284 GB, free: 11.69 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.3793, allocations: 3.276 MB / 0.5316 GB, free: 10.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.408/7.788, allocations: 5.438 kB / 0.5316 GB, free: 10.17 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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