Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",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.00113/0.00113, allocations: 109.5 kB / 17.77 MB, free: 5.266 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.001231/0.001231, allocations: 188 kB / 18.71 MB, free: 4.34 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.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.2293/0.2293, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 67.91 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4039, allocations: 60.83 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002521/0.4064, allocations: 1.607 MB / 0.52 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006375/0.4071, allocations: 422 kB / 0.5204 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.4072, allocations: 1.531 kB / 0.5204 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.4074, allocations: 33.33 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.4076, allocations: 43.5 kB / 0.5205 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.4079, allocations: 118.7 kB / 0.5206 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.408, allocations: 77.67 kB / 0.5207 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.4082, allocations: 30.11 kB / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.989e-05/0.4082, allocations: 28.62 kB / 0.5207 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.198e-05/0.4083, allocations: 35.25 kB / 0.5208 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.4084, allocations: 4.719 kB / 0.5208 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.62e-05/0.4085, allocations: 53 kB / 0.5208 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.4085, allocations: 22.33 kB / 0.5209 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.4086, allocations: 36.61 kB / 0.5209 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.4088, allocations: 102.3 kB / 0.521 GB, free: 1.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4088, allocations: 0 / 0.521 GB, free: 1.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4088, allocations: 0 / 0.521 GB, free: 1.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.4088, allocations: 1.094 kB / 0.521 GB, free: 1.617 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004076/0.4092, allocations: 399.8 kB / 0.5214 GB, free: 1.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.4092, allocations: 14.12 kB / 0.5214 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.4093, allocations: 41.17 kB / 0.5214 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.4093, allocations: 18.3 kB / 0.5214 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.4095, allocations: 194.1 kB / 0.5216 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.4095, allocations: 6.719 kB / 0.5216 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.4095, allocations: 5.281 kB / 0.5216 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.4097, allocations: 81.27 kB / 0.5217 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4097, allocations: 1.188 kB / 0.5217 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4097, allocations: 5.219 kB / 0.5217 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.4098, allocations: 1.25 kB / 0.5217 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.4099, allocations: 45.36 kB / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.4103, allocations: 336.2 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.4105, allocations: 66.73 kB / 0.5221 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.134e-05/0.4105, allocations: 23.78 kB / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.4105, allocations: 2.094 kB / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.4106, allocations: 43.84 kB / 0.5222 GB, free: 476 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.4106, allocations: 0 / 0.5222 GB, free: 476 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001072/0.4117, allocations: 320.9 kB / 0.5225 GB, free: 352 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.4117, allocations: 57.11 kB / 0.5226 GB, free: 284 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.4118, allocations: 155.5 kB / 0.5227 GB, free: 168 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.4118, allocations: 27.08 kB / 0.5227 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.4119, allocations: 102.8 kB / 0.5228 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.4119, allocations: 43.47 kB / 0.5229 GB, free: 0 / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.717e-05/0.412, allocations: 26.66 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4121, allocations: 324.4 kB / 0.5232 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.4122, allocations: 44.7 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.893e-05/0.4123, allocations: 47.81 kB / 0.5233 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.4126, allocations: 108.4 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4126, allocations: 3.938 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002805/0.4129, allocations: 149.1 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4129, allocations: 10.25 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.4129, allocations: 0 / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.4129, allocations: 1.469 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.413, allocations: 33.05 kB / 0.5236 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.413, allocations: 1.859 kB / 0.5236 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.4131, allocations: 4.719 kB / 0.5236 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4131, allocations: 4.016 kB / 0.5236 GB, free: 15.5 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 (13): * Single equations (assignments): 13 * 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 8.901e-05/0.4132, allocations: 123 kB / 0.5237 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.4132, allocations: 13 kB / 0.5237 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/0.4136, allocations: 194.5 kB / 0.5239 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4136, allocations: 1.312 kB / 0.5239 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4137, allocations: 1.469 kB / 0.5239 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4137, allocations: 4.688 kB / 0.5239 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000644/0.4143, allocations: 481.5 kB / 0.5244 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4143, allocations: 1.375 kB / 0.5244 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.574e-05/0.4144, allocations: 28.08 kB / 0.5244 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4144, allocations: 10.06 kB / 0.5244 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4145, allocations: 1.656 kB / 0.5244 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.4145, allocations: 5.094 kB / 0.5244 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4145, allocations: 1.656 kB / 0.5244 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.4148, allocations: 253.1 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.4149, allocations: 89.47 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.4149, allocations: 2.609 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.415, allocations: 10.28 kB / 0.5248 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.415, allocations: 6.641 kB / 0.5248 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.415, allocations: 3.812 kB / 0.5248 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.78e-05/0.4151, allocations: 121.6 kB / 0.5249 GB, free: 14.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4152, allocations: 1.312 kB / 0.5249 GB, free: 14.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.4154, allocations: 31.77 kB / 0.5249 GB, free: 14.5 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 (13): * Single equations (assignments): 13 * 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.001589/0.417, allocations: 1.14 MB / 0.5261 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.4173, allocations: 109.6 kB / 0.5262 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4173, allocations: 0 / 0.5262 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.4175, allocations: 59.81 kB / 0.5262 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.0003217/0.4178, allocations: 20.55 kB / 0.5262 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.4198, allocations: 1.725 MB / 0.5279 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4202, allocations: 0.7085 MB / 0.5286 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.4203, allocations: 37.75 kB / 0.5286 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.4204, allocations: 35.25 kB / 0.5287 GB, free: 11.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4204, allocations: 0 / 0.5287 GB, free: 11.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.4408, allocations: 3.2 MB / 0.5318 GB, free: 10.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/8.048, allocations: 20.73 kB / 0.5318 GB, free: 10.01 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches