Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001101/0.001101, allocations: 183.8 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.439/1.439, 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.2135/0.2135, allocations: 44.17 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4503, allocations: 60.83 MB / 0.5189 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003179/0.4535, allocations: 1.583 MB / 0.5205 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007743/0.4543, allocations: 398.8 kB / 0.5209 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.4544, allocations: 5.281 kB / 0.5209 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.4548, allocations: 71.89 kB / 0.5209 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.455, allocations: 66.73 kB / 0.521 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.4553, allocations: 93.09 kB / 0.5211 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.4555, allocations: 74.34 kB / 0.5212 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.4557, allocations: 15.23 kB / 0.5212 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.999e-05/0.4558, allocations: 37.11 kB / 0.5212 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.4559, allocations: 50.2 kB / 0.5213 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.4559, allocations: 11.09 kB / 0.5213 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.4561, allocations: 47.11 kB / 0.5213 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.4561, allocations: 15.47 kB / 0.5213 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.4562, allocations: 29.28 kB / 0.5214 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.4564, allocations: 100.4 kB / 0.5214 GB, free: 2.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4564, allocations: 0 / 0.5214 GB, free: 2.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4564, allocations: 3.938 kB / 0.5214 GB, free: 2.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.4564, allocations: 1.125 kB / 0.5215 GB, free: 2.266 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.0004777/0.4569, allocations: 409.2 kB / 0.5218 GB, free: 1.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.457, allocations: 10.38 kB / 0.5219 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.457, allocations: 12.88 kB / 0.5219 GB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.4572, allocations: 189.7 kB / 0.522 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.4573, allocations: 5.469 kB / 0.522 GB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.4573, allocations: 3.906 kB / 0.5221 GB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.4575, allocations: 60.34 kB / 0.5221 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4575, allocations: 3.938 kB / 0.5221 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.4575, allocations: 0.6094 kB / 0.5221 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4575, allocations: 5.125 kB / 0.5221 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.861e-05/0.4576, allocations: 33.52 kB / 0.5222 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.458, allocations: 289.4 kB / 0.5224 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.4581, allocations: 47.27 kB / 0.5225 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.759e-05/0.4581, allocations: 15.34 kB / 0.5225 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.4582, allocations: 1.094 kB / 0.5225 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.4582, allocations: 42.56 kB / 0.5225 GB, free: 1.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.4582, allocations: 1.125 kB / 0.5225 GB, free: 1.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009136/0.4591, allocations: 210.8 kB / 0.5227 GB, free: 1.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.4592, allocations: 52.47 kB / 0.5228 GB, free: 1.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.4594, allocations: 214 kB / 0.523 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.4594, allocations: 27.67 kB / 0.523 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.4595, allocations: 108 kB / 0.5231 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.4595, allocations: 29.42 kB / 0.5231 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.4595, allocations: 25.03 kB / 0.5232 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.4596, allocations: 322.2 kB / 0.5235 GB, free: 424 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/0.4597, allocations: 21.75 kB / 0.5235 GB, free: 420 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.4598, allocations: 26.83 kB / 0.5235 GB, free: 412 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.4599, allocations: 67.84 kB / 0.5236 GB, free: 380 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4599, allocations: 0 / 0.5236 GB, free: 380 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002062/0.4601, allocations: 96.59 kB / 0.5237 GB, free: 328 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4602, allocations: 5 kB / 0.5237 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4602, allocations: 2.922 kB / 0.5237 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4602, allocations: 0 / 0.5237 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.4603, allocations: 20.41 kB / 0.5237 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.4603, allocations: 4.531 kB / 0.5237 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.4604, allocations: 8.828 kB / 0.5237 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.4604, allocations: 2.859 kB / 0.5237 GB, free: 316 kB / 382.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 (8): * Single equations (assignments): 8 * 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 7.77e-05/0.4605, allocations: 126.2 kB / 0.5238 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.4605, allocations: 9.906 kB / 0.5238 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.4608, allocations: 125.8 kB / 0.524 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4608, allocations: 5.641 kB / 0.524 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4608, allocations: 5.125 kB / 0.524 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.4608, allocations: 0.6094 kB / 0.524 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.4614, allocations: 404.6 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4614, allocations: 0 / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.612e-05/0.4615, allocations: 25.14 kB / 0.5244 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.4615, allocations: 0.5156 kB / 0.5244 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.4615, allocations: 6 kB / 0.5244 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4615, allocations: 2.578 kB / 0.5244 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4615, allocations: 3.938 kB / 0.5244 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.4618, allocations: 199 kB / 0.5246 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.4619, allocations: 88.19 kB / 0.5247 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.4619, allocations: 5.484 kB / 0.5247 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.462, allocations: 8.891 kB / 0.5247 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.462, allocations: 14.77 kB / 0.5247 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.462, allocations: 2.344 kB / 0.5247 GB, free: 15.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.4622, allocations: 151.4 kB / 0.5249 GB, free: 15.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4622, allocations: 5.375 kB / 0.5249 GB, free: 15.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.4624, allocations: 19.2 kB / 0.5249 GB, free: 15.36 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 (8): * Single equations (assignments): 8 * 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.001099/0.4636, allocations: 457.7 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.4638, allocations: 60.19 kB / 0.5254 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4638, allocations: 0 / 0.5254 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.816e-05/0.4639, allocations: 40.56 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.4642, allocations: 20.72 kB / 0.5254 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.4647, allocations: 248.1 kB / 0.5257 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.4651, allocations: 0.7105 MB / 0.5264 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.484e-05/0.4651, allocations: 18.44 kB / 0.5264 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.4652, allocations: 13.55 kB / 0.5264 GB, free: 14.21 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4652, allocations: 0 / 0.5264 GB, free: 14.21 MB / 398.1 MB Notification: Performance of Templates: time 0.004255/0.4694, allocations: 1.329 MB / 0.5277 GB, free: 13.81 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches