Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",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.001327/0.001327, allocations: 109.5 kB / 17.78 MB, free: 5.309 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.001226/0.001226, allocations: 188.8 kB / 18.71 MB, free: 4.387 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.404/1.404, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2363/0.2363, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002147, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.421, allocations: 60.83 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002681/0.4237, allocations: 1.618 MB / 0.52 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.425, allocations: 1.03 MB / 0.521 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.4251, allocations: 5.25 kB / 0.521 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.4253, allocations: 23.58 kB / 0.5211 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.4255, allocations: 45.92 kB / 0.5211 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.4258, allocations: 136.1 kB / 0.5212 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.4259, allocations: 57.19 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.839e-05/0.426, allocations: 18.14 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.837e-05/0.4261, allocations: 28.39 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.4262, allocations: 31.03 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.4262, allocations: 4.188 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-05/0.4263, allocations: 55.56 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.4264, allocations: 15.73 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.4264, allocations: 22.84 kB / 0.5215 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.4266, allocations: 103.4 kB / 0.5216 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4266, allocations: 0 / 0.5216 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4266, allocations: 4 kB / 0.5216 GB, free: 1.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.4266, allocations: 0 / 0.5216 GB, free: 1.195 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.0004422/0.4271, allocations: 394 kB / 0.5219 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.4271, allocations: 9.219 kB / 0.5219 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.723e-05/0.4271, allocations: 36.62 kB / 0.522 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.4272, allocations: 10.27 kB / 0.522 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.4273, allocations: 197.5 kB / 0.5222 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.4274, allocations: 6.719 kB / 0.5222 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.4274, allocations: 10.41 kB / 0.5222 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.4276, allocations: 76.72 kB / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.4276, allocations: 0 / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.4276, allocations: 1.125 kB / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4276, allocations: 1.688 kB / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.4278, allocations: 40.09 kB / 0.5223 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.428, allocations: 287.8 kB / 0.5226 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.4282, allocations: 44.39 kB / 0.5226 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.768e-05/0.4283, allocations: 23.81 kB / 0.5226 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.4283, allocations: 0 / 0.5226 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.4283, allocations: 36.36 kB / 0.5227 GB, free: 84 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.4283, allocations: 4 kB / 0.5227 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007158/0.429, allocations: 199.4 kB / 0.5229 GB, free: 4 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.4291, allocations: 78.91 kB / 0.5229 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.4293, allocations: 148.2 kB / 0.5231 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.4293, allocations: 25.7 kB / 0.5231 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.4294, allocations: 98.72 kB / 0.5232 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.4294, allocations: 23.55 kB / 0.5232 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.4294, allocations: 20.98 kB / 0.5233 GB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.4296, allocations: 319.5 kB / 0.5236 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.4297, allocations: 34.56 kB / 0.5236 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.4298, allocations: 46.55 kB / 0.5236 GB, free: 15.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.43, allocations: 80.98 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.43, allocations: 0 / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002825/0.4303, allocations: 109.7 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4304, allocations: 5.531 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4304, allocations: 0.7969 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4304, allocations: 5.016 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.4305, allocations: 18.84 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4305, allocations: 5.344 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.897e-05/0.4306, allocations: 12.97 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.4306, allocations: 2.688 kB / 0.5239 GB, free: 15.18 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 9.852e-05/0.4307, allocations: 119 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.4308, allocations: 12.53 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.4311, allocations: 122.7 kB / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4311, allocations: 1.156 kB / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4311, allocations: 3.938 kB / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.4311, allocations: 1.719 kB / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005359/0.4317, allocations: 388.8 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4317, allocations: 3.938 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.128e-05/0.4318, allocations: 19.59 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4318, allocations: 7.875 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.4318, allocations: 2 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4318, allocations: 4 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4318, allocations: 0.5625 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.4321, allocations: 210.2 kB / 0.5247 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.4322, allocations: 89.77 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.4322, allocations: 10.06 kB / 0.5248 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.349e-05/0.4323, allocations: 8.844 kB / 0.5248 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.4324, allocations: 8.984 kB / 0.5248 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.4324, allocations: 6.844 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.179e-05/0.4325, allocations: 109.6 kB / 0.5249 GB, free: 14.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4325, allocations: 0 / 0.5249 GB, free: 14.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.4327, allocations: 23.5 kB / 0.525 GB, free: 14.28 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.001438/0.4342, allocations: 1.084 MB / 0.526 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002871/0.4345, allocations: 81.94 kB / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4345, allocations: 2.031 kB / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.4346, allocations: 35.97 kB / 0.5261 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.435, allocations: 24.98 kB / 0.5262 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.4368, allocations: 1.528 MB / 0.5277 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.4371, allocations: 0.6956 MB / 0.5283 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.267e-05/0.4372, allocations: 14.11 kB / 0.5283 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.4372, allocations: 32.33 kB / 0.5284 GB, free: 11.43 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4373, allocations: 0 / 0.5284 GB, free: 11.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.4581, allocations: 3.063 MB / 0.5314 GB, free: 9.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/8.073, allocations: 10.67 kB / 0.5314 GB, free: 9.98 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y,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(clock1.y),der(clock2.y),der(d_t_new.u),t_new.extrapolation,t_new.smoothness,t_new.tableOnFile,t_new.u1,t_new.u2,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,time