Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",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.001132/0.001132, 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.001334/0.001334, allocations: 187.9 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.449/1.449, 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.2412/0.2412, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4472/0.4487, allocations: 60.83 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003154/0.4519, allocations: 1.617 MB / 0.52 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.4533, allocations: 1.064 MB / 0.5211 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.4534, allocations: 1.406 kB / 0.5211 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.4536, allocations: 19.64 kB / 0.5211 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.4539, allocations: 46 kB / 0.5211 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.4543, allocations: 175.3 kB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.4545, allocations: 69.59 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.4546, allocations: 23.45 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.685e-05/0.4547, allocations: 25.7 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.4549, allocations: 35.69 kB / 0.5214 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.4549, allocations: 4.219 kB / 0.5214 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.455, allocations: 51.11 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.904e-05/0.4551, allocations: 20.97 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.4552, allocations: 27.7 kB / 0.5215 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.4555, allocations: 102.4 kB / 0.5216 GB, free: 1.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4555, allocations: 4 kB / 0.5216 GB, free: 1.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4555, allocations: 0 / 0.5216 GB, free: 1.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.4555, allocations: 0 / 0.5216 GB, free: 1.129 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.0006196/0.4561, allocations: 402.6 kB / 0.522 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.4562, allocations: 9.406 kB / 0.522 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.4562, allocations: 36.41 kB / 0.5221 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.4563, allocations: 9.844 kB / 0.5221 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.4565, allocations: 192.8 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.4565, allocations: 5.688 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.4566, allocations: 6.938 kB / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.4568, allocations: 83.52 kB / 0.5224 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4569, allocations: 0 / 0.5224 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.4569, allocations: 1.641 kB / 0.5224 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.4569, allocations: 5.094 kB / 0.5224 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.457, allocations: 39.22 kB / 0.5224 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.4576, allocations: 306.5 kB / 0.5227 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.4577, allocations: 48.11 kB / 0.5227 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.277e-05/0.4578, allocations: 28.05 kB / 0.5228 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.4579, allocations: 1.781 kB / 0.5228 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.4579, allocations: 35.66 kB / 0.5228 GB, free: 8 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.4579, allocations: 1.094 kB / 0.5228 GB, free: 8 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009653/0.4589, allocations: 222.1 kB / 0.523 GB, free: 15.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/0.459, allocations: 78.75 kB / 0.5231 GB, free: 15.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.4592, allocations: 149.2 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.4592, allocations: 29.7 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.4593, allocations: 94.61 kB / 0.5233 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.4593, allocations: 20 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.4594, allocations: 22.22 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4595, allocations: 320.1 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.4596, allocations: 36.61 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.4598, allocations: 60.23 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.4601, allocations: 95.81 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-06/0.4601, allocations: 0 / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003244/0.4604, allocations: 125.3 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4604, allocations: 5.953 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4604, allocations: 0 / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4605, allocations: 1.281 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.4606, allocations: 18.83 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.867e-05/0.4606, allocations: 5.531 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.4607, allocations: 9.484 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.4607, allocations: 5.094 kB / 0.524 GB, free: 15.09 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 (7): * Single equations (assignments): 7 * 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.0001084/0.4608, allocations: 122.4 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.4609, allocations: 8.188 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.4612, allocations: 136.7 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.4613, allocations: 2.484 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4613, allocations: 3.938 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4613, allocations: 0.7031 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.4619, allocations: 411.8 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4619, allocations: 0 / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.76e-05/0.462, allocations: 20.03 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.462, allocations: 7.875 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.462, allocations: 1.984 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.462, allocations: 0 / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.462, allocations: 1.125 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.4624, allocations: 223 kB / 0.5249 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.4624, allocations: 89.61 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.4625, allocations: 4.5 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.4626, allocations: 13.89 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.4626, allocations: 13.86 kB / 0.5251 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.4626, allocations: 6.375 kB / 0.5251 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.209e-05/0.4627, allocations: 109.3 kB / 0.5252 GB, free: 14.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.984e-06/0.4628, allocations: 0 / 0.5252 GB, free: 14.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.463, allocations: 32.7 kB / 0.5252 GB, free: 14.17 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 (7): * Single equations (assignments): 7 * 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.00194/0.465, allocations: 1.096 MB / 0.5263 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004297/0.4654, allocations: 89.97 kB / 0.5264 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4655, allocations: 2 kB / 0.5264 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.4656, allocations: 48.83 kB / 0.5264 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.466, allocations: 14.75 kB / 0.5264 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.4684, allocations: 1.596 MB / 0.528 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.4687, allocations: 0.6966 MB / 0.5287 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.4689, allocations: 29.39 kB / 0.5287 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.806e-05/0.469, allocations: 30.58 kB / 0.5287 GB, free: 11.29 MB / 398.1 MB Notification: Performance of SimCode: time 7.72e-07/0.469, allocations: 0 / 0.5287 GB, free: 11.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.4958, allocations: 3.156 MB / 0.5318 GB, free: 9.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/8.156, allocations: 15.67 kB / 0.5318 GB, free: 9.715 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u1[1],t_new.u2[1],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time