Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",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.001089/0.00109, 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.001153/0.001154, 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.44/1.44, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2313/0.2313, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4474, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003019/0.4505, allocations: 1.563 MB / 0.52 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.452, allocations: 1.032 MB / 0.521 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.4521, allocations: 1.188 kB / 0.521 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.4523, allocations: 16.78 kB / 0.521 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.4526, allocations: 40.38 kB / 0.521 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.4529, allocations: 111.6 kB / 0.5211 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.4531, allocations: 56.19 kB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.4532, allocations: 11.89 kB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.394e-05/0.4533, allocations: 30.83 kB / 0.5212 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.4534, allocations: 26.56 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.4534, allocations: 3.156 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.4536, allocations: 54.42 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.4536, allocations: 12.98 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.53e-05/0.4537, allocations: 16.52 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.4539, allocations: 93.45 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4539, allocations: 5.031 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4539, allocations: 0 / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.4539, allocations: 0 / 0.5214 GB, free: 1.254 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.0004474/0.4544, allocations: 374.8 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.4544, allocations: 14.16 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.4545, allocations: 36.36 kB / 0.5218 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.4545, allocations: 8.094 kB / 0.5218 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.4547, allocations: 190.6 kB / 0.522 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.4547, allocations: 1.406 kB / 0.522 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.4547, allocations: 10.89 kB / 0.522 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.4549, allocations: 69.92 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4549, allocations: 0 / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4549, allocations: 1.219 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.4549, allocations: 0 / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.455, allocations: 24.22 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.4554, allocations: 279.9 kB / 0.5224 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.4556, allocations: 45.59 kB / 0.5224 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.4557, allocations: 18.53 kB / 0.5225 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.4557, allocations: 1.125 kB / 0.5225 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.4557, allocations: 32.22 kB / 0.5225 GB, free: 176 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.4557, allocations: 0 / 0.5225 GB, free: 176 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005897/0.4563, allocations: 158.7 kB / 0.5226 GB, free: 96 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.4564, allocations: 79.5 kB / 0.5227 GB, free: 0 / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.4566, allocations: 130.5 kB / 0.5228 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4566, allocations: 26.95 kB / 0.5229 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/0.4567, allocations: 92.28 kB / 0.523 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.4567, allocations: 15.48 kB / 0.523 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.4568, allocations: 23.08 kB / 0.523 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4569, allocations: 323.9 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.457, allocations: 19.56 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.173e-05/0.4571, allocations: 37.8 kB / 0.5234 GB, free: 15.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.4573, allocations: 51.47 kB / 0.5234 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4573, allocations: 5.094 kB / 0.5234 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002212/0.4575, allocations: 88.3 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4576, allocations: 5.266 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4576, allocations: 1.188 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.4576, allocations: 0 / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.4577, allocations: 13.17 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4577, allocations: 7.875 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.4578, allocations: 5.203 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.4578, allocations: 10.03 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 0.0001016/0.4579, allocations: 115.8 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.4579, allocations: 7.531 kB / 0.5237 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.4582, allocations: 100.1 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4582, allocations: 1.344 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4582, allocations: 0 / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4583, allocations: 1.797 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.4588, allocations: 354.4 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4588, allocations: 0.6562 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/0.4589, allocations: 16.25 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4589, allocations: 0 / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.4589, allocations: 5.469 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4589, allocations: 4.594 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4589, allocations: 0 / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.4592, allocations: 185.4 kB / 0.5243 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.4592, allocations: 78.91 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.4593, allocations: 2.109 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.4593, allocations: 9.281 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.4594, allocations: 3.469 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.4594, allocations: 1.812 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.835e-05/0.4595, allocations: 108.5 kB / 0.5245 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4595, allocations: 4 kB / 0.5245 GB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.4598, allocations: 20 kB / 0.5245 GB, free: 14.43 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.001564/0.4614, allocations: 1.054 MB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.4616, allocations: 54.23 kB / 0.5256 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4616, allocations: 3.938 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.715e-05/0.4617, allocations: 26.27 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.4622, allocations: 21.19 kB / 0.5256 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.4639, allocations: 1.4 MB / 0.527 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.4643, allocations: 0.6924 MB / 0.5277 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.198e-05/0.4644, allocations: 17.22 kB / 0.5277 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.4644, allocations: 32.42 kB / 0.5277 GB, free: 11.64 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4644, allocations: 0 / 0.5277 GB, free: 11.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.4865, allocations: 2.794 MB / 0.5305 GB, free: 10.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.269, allocations: 9.922 kB / 0.5305 GB, free: 10.46 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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