Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",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.001108/0.001108, allocations: 110.4 kB / 17.78 MB, free: 5.285 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.001084/0.001084, allocations: 183.9 kB / 18.7 MB, free: 4.367 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.412/1.412, 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.2051/0.2051, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3256, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.002503/0.3281, allocations: 1.567 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3294, allocations: 1.028 MB / 0.521 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.3295, allocations: 1.5 kB / 0.521 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.3297, allocations: 22.78 kB / 0.521 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.3299, allocations: 46.06 kB / 0.521 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.3301, allocations: 103.2 kB / 0.5211 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.3303, allocations: 60.22 kB / 0.5212 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3304, allocations: 12.31 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.203e-05/0.3305, allocations: 22.77 kB / 0.5212 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3306, allocations: 25.62 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3306, allocations: 3.125 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.744e-05/0.3307, allocations: 50.58 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.3308, allocations: 17.34 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.3308, allocations: 17.36 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.331, allocations: 97.19 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.331, allocations: 0 / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.331, allocations: 0 / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.331, allocations: 5.156 kB / 0.5214 GB, free: 1.25 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003796/0.3314, allocations: 374.8 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3315, allocations: 8.969 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.3315, allocations: 32.56 kB / 0.5218 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.3316, allocations: 12.98 kB / 0.5218 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3317, allocations: 189.9 kB / 0.522 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.3317, allocations: 9.5 kB / 0.522 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.3318, allocations: 2.656 kB / 0.522 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.3319, allocations: 69.59 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.332, allocations: 1.25 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.332, allocations: 0.6562 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.332, allocations: 1.062 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.3321, allocations: 22.86 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.3325, allocations: 279.5 kB / 0.5224 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.3327, allocations: 50.41 kB / 0.5224 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.3327, allocations: 18.41 kB / 0.5225 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.3328, allocations: 1.062 kB / 0.5225 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.3328, allocations: 40.42 kB / 0.5225 GB, free: 164 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.3328, allocations: 0 / 0.5225 GB, free: 164 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005809/0.3334, allocations: 150.3 kB / 0.5226 GB, free: 92 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.3334, allocations: 78.84 kB / 0.5227 GB, free: 16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.3336, allocations: 131.7 kB / 0.5228 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.3336, allocations: 26.8 kB / 0.5229 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.3337, allocations: 92.69 kB / 0.523 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.3337, allocations: 19.3 kB / 0.523 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.3337, allocations: 19.14 kB / 0.523 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3339, allocations: 323.8 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/0.3339, allocations: 16.45 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.045e-05/0.334, allocations: 40.8 kB / 0.5234 GB, free: 15.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.3342, allocations: 55.17 kB / 0.5234 GB, free: 15.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3342, allocations: 1.094 kB / 0.5234 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002081/0.3344, allocations: 80.98 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3345, allocations: 4.938 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3345, allocations: 1.406 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3345, allocations: 0 / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.3346, allocations: 21.69 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3346, allocations: 0.6562 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.3346, allocations: 8.484 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.3347, allocations: 6.109 kB / 0.5235 GB, free: 15.3 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 (5): * Single equations (assignments): 5 * 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 9.108e-05/0.3347, allocations: 118.7 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.3348, allocations: 7.391 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.3351, allocations: 92.41 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3351, allocations: 5.969 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3351, allocations: 0 / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3351, allocations: 5.188 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.3356, allocations: 362.6 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3356, allocations: 0 / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.3356, allocations: 11.53 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3357, allocations: 0.6562 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3357, allocations: 1.5 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.3357, allocations: 4.641 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3357, allocations: 0.7812 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.3359, allocations: 188.5 kB / 0.5243 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.336, allocations: 80.2 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.336, allocations: 1.734 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.3361, allocations: 8.719 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.3361, allocations: 4.375 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.3361, allocations: 1.125 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.882e-05/0.3362, allocations: 107.2 kB / 0.5245 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3362, allocations: 0.9375 kB / 0.5245 GB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.3365, allocations: 23.52 kB / 0.5245 GB, free: 14.42 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001442/0.3379, allocations: 1.053 MB / 0.5255 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003259/0.3383, allocations: 52.2 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3383, allocations: 1.219 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.875e-05/0.3384, allocations: 33.73 kB / 0.5256 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3388, allocations: 18.86 kB / 0.5256 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.3403, allocations: 1.404 MB / 0.527 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.3405, allocations: 0.6916 MB / 0.5277 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.167e-05/0.3406, allocations: 22.3 kB / 0.5277 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.3407, allocations: 23.77 kB / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3407, allocations: 0.9688 kB / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.3605, allocations: 2.784 MB / 0.5304 GB, free: 10.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.165, allocations: 18.92 kB / 0.5305 GB, free: 10.43 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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 Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time