Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 107.7 kB / 18.45 MB, free: 4.594 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.001056/0.001057, allocations: 180.1 kB / 19.38 MB, free: 3.676 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.358/1.358, allocations: 222.9 MB / 243.1 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.2056/0.2056, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 59.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4196, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003642/0.4233, allocations: 1.794 MB / 0.5214 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.4251, allocations: 0.9642 MB / 0.5223 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.4253, allocations: 6.156 kB / 0.5223 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007302/0.4261, allocations: 294.3 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005851/0.4267, allocations: 214 kB / 0.5228 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.4274, allocations: 171.6 kB / 0.523 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005828/0.428, allocations: 249 kB / 0.5232 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.694e-05/0.4281, allocations: 8.781 kB / 0.5232 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.4284, allocations: 134.6 kB / 0.5234 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003875/0.4288, allocations: 188.5 kB / 0.5235 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.4289, allocations: 7.219 kB / 0.5235 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.4291, allocations: 49.08 kB / 0.5236 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.4293, allocations: 126 kB / 0.5237 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.4295, allocations: 151.8 kB / 0.5239 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006569/0.4301, allocations: 362.2 kB / 0.5242 GB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4302, allocations: 1.5 kB / 0.5242 GB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4302, allocations: 4 kB / 0.5242 GB, free: 1.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.4302, allocations: 0 / 0.5242 GB, free: 1.023 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001058/0.4313, allocations: 0.7228 MB / 0.5249 GB, free: 436 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.4313, allocations: 9 kB / 0.5249 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.181e-05/0.4314, allocations: 47.58 kB / 0.525 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005951/0.432, allocations: 452.5 kB / 0.5254 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.432, allocations: 3.125 kB / 0.5254 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.4321, allocations: 15.42 kB / 0.5254 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.4323, allocations: 87.12 kB / 0.5255 GB, free: 0 / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4323, allocations: 0 / 0.5255 GB, free: 0 / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.4323, allocations: 1.375 kB / 0.5255 GB, free: 0 / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4323, allocations: 0 / 0.5255 GB, free: 0 / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.4325, allocations: 38.81 kB / 0.5255 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.433, allocations: 380.5 kB / 0.5259 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.4333, allocations: 106.6 kB / 0.526 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.4334, allocations: 47.02 kB / 0.526 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.4334, allocations: 2.031 kB / 0.526 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.4337, allocations: 104.5 kB / 0.5261 GB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.4337, allocations: 0 / 0.5261 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005272/0.4342, allocations: 198.4 kB / 0.5263 GB, free: 15.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.4343, allocations: 78.62 kB / 0.5264 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.4355, allocations: 1.041 MB / 0.5274 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.4355, allocations: 25.7 kB / 0.5274 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.4357, allocations: 237.9 kB / 0.5277 GB, free: 14.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.4357, allocations: 24.42 kB / 0.5277 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.4358, allocations: 27.28 kB / 0.5277 GB, free: 14.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.436, allocations: 369.2 kB / 0.5281 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.903e-05/0.4361, allocations: 31.2 kB / 0.5281 GB, free: 14.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.886e-05/0.4362, allocations: 59.33 kB / 0.5282 GB, free: 14.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.4364, allocations: 89.91 kB / 0.5282 GB, free: 14.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4364, allocations: 0 / 0.5282 GB, free: 14.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003068/0.4367, allocations: 166.6 kB / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4367, allocations: 9.594 kB / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4367, allocations: 1.062 kB / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.4367, allocations: 2.312 kB / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.4369, allocations: 26.2 kB / 0.5284 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.4369, allocations: 5.281 kB / 0.5285 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.437, allocations: 20.02 kB / 0.5285 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.437, allocations: 4.031 kB / 0.5285 GB, free: 13.99 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.00023/0.4373, allocations: 221.1 kB / 0.5287 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.4373, allocations: 61.14 kB / 0.5287 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.937e-05/0.4374, allocations: 58.69 kB / 0.5288 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.4374, allocations: 2.312 kB / 0.5288 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4375, allocations: 3.938 kB / 0.5288 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4375, allocations: 1.094 kB / 0.5288 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/0.4378, allocations: 340.7 kB / 0.5291 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4378, allocations: 0 / 0.5291 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.4379, allocations: 15.05 kB / 0.5291 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.4379, allocations: 0.8438 kB / 0.5291 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.4379, allocations: 2.594 kB / 0.5291 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4379, allocations: 0 / 0.5291 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4379, allocations: 5.719 kB / 0.5292 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.4383, allocations: 207.9 kB / 0.5294 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.4384, allocations: 137.5 kB / 0.5295 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.4385, allocations: 2.094 kB / 0.5295 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.4385, allocations: 3.094 kB / 0.5295 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.4386, allocations: 17.3 kB / 0.5295 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.4386, allocations: 4.688 kB / 0.5295 GB, free: 13.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008694/0.4395, allocations: 0.7701 MB / 0.5303 GB, free: 12.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4395, allocations: 1.219 kB / 0.5303 GB, free: 12.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.4398, allocations: 39.12 kB / 0.5303 GB, free: 12.8 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009866/0.4408, allocations: 421.2 kB / 0.5307 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.4411, allocations: 91.55 kB / 0.5308 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4411, allocations: 0 / 0.5308 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.4412, allocations: 34.67 kB / 0.5308 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.4417, allocations: 73.42 kB / 0.5309 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.4431, allocations: 0.9025 MB / 0.5318 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.4436, allocations: 0.8483 MB / 0.5326 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.008e-05/0.4436, allocations: 26.47 kB / 0.5326 GB, free: 11.22 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4437, allocations: 0 / 0.5326 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Templates: time 0.009306/0.453, allocations: 5.09 MB / 0.5376 GB, free: 8.574 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches