Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimitersHomotopy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controllerFeedbackPart1.y|controllerFeedbackPart2.y|controllerFeedbackPart3.y|controllerFeedbackPart4.y|controllerFeedbackPart5.y|controllerFeedbackPart6.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y|firstOrder5.y|firstOrder6.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy") translateModel(ModelicaTest.Blocks.LimitersHomotopy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controllerFeedbackPart1.y|controllerFeedbackPart2.y|controllerFeedbackPart3.y|controllerFeedbackPart4.y|controllerFeedbackPart5.y|controllerFeedbackPart6.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y|firstOrder5.y|firstOrder6.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009516/0.0009518, allocations: 95.77 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001034/0.001034, allocations: 204.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.621/1.621, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2424/0.2424, allocations: 45.91 MB / 344 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003078, allocations: 8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1541, allocations: 63.46 MB / 481.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.003846/0.158, allocations: 2.513 MB / 483.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002702/0.1607, allocations: 0.971 MB / 484.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006612/0.1614, allocations: 11.94 kB / 484.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.1617, allocations: 35.58 kB / 484.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005772/0.1623, allocations: 79.73 kB / 485 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.1636, allocations: 291.5 kB / 485.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007972/0.1644, allocations: 348.5 kB / 485.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004359/0.1648, allocations: 185 kB / 485.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.1651, allocations: 179.2 kB / 486 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.1654, allocations: 210.8 kB / 486.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.1654, allocations: 20 kB / 486.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.16e-05/0.1655, allocations: 20 kB / 486.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.528e-05/0.1656, allocations: 79.61 kB / 486.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.122e-05/0.1657, allocations: 97.44 kB / 486.4 MB, free: 420 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.1661, allocations: 355.3 kB / 486.7 MB, free: 64 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1661, allocations: 0 / 486.7 MB, free: 64 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1661, allocations: 8 kB / 486.7 MB, free: 56 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1661, allocations: 0 / 486.7 MB, free: 56 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001776/0.1679, allocations: 0.9002 MB / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.168, allocations: 8.562 kB / 487.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00032/0.1683, allocations: 79.23 kB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.169, allocations: 384.7 kB / 488.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.169, allocations: 33 kB / 488.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.1692, allocations: 51.91 kB / 488.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.1706, allocations: 0.6489 MB / 488.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1706, allocations: 4 kB / 488.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.312e-05/0.1707, allocations: 19.98 kB / 488.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.1707, allocations: 19.94 kB / 488.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.1723, allocations: 0.6166 MB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.1753, allocations: 1.828 MB / 491.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.177, allocations: 0.6895 MB / 492 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.111e-05/0.177, allocations: 20.84 kB / 492 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.1771, allocations: 42.56 kB / 492.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.1771, allocations: 0 / 492.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002744/0.1798, allocations: 0.9066 MB / 493 MB, free: 9.516 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003198/0.1802, allocations: 306.6 kB / 493.3 MB, free: 9.148 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.1806, allocations: 345.6 kB / 493.6 MB, free: 8.801 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.1808, allocations: 37.64 kB / 493.7 MB, free: 8.758 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.181, allocations: 264.4 kB / 493.9 MB, free: 8.492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.1812, allocations: 157.7 kB / 494.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.1812, allocations: 12 kB / 494.1 MB, free: 8.324 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.1814, allocations: 354.8 kB / 494.4 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007981/0.1822, allocations: 272.9 kB / 494.7 MB, free: 7.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008741/0.1831, allocations: 416.7 kB / 495.1 MB, free: 7.242 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008082/0.1839, allocations: 303.7 kB / 495.4 MB, free: 6.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.184, allocations: 0 / 495.4 MB, free: 6.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003769/0.1877, allocations: 1.247 MB / 496.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005496/0.1883, allocations: 1.312 MB / 498 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.1883, allocations: 1.875 kB / 498 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/0.1901, allocations: 496.7 kB / 498.4 MB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.1907, allocations: 115.8 kB / 498.6 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/0.2047, allocations: 12.06 MB / 0.4986 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006746/0.2054, allocations: 123.7 kB / 0.4988 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-05/0.2056, allocations: 20 kB / 0.4988 GB, free: 6.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.2056, allocations: 4 kB / 0.4988 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002172/0.2078, allocations: 0.7704 MB / 0.4995 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.2078, allocations: 4 kB / 0.4995 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006235/0.2084, allocations: 161.7 kB / 0.4997 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007175/0.2092, allocations: 195.7 kB / 0.4999 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004551/0.2137, allocations: 3.572 MB / 0.5034 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/0.2143, allocations: 103.6 kB / 0.5035 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.2144, allocations: 20 kB / 0.5035 GB, free: 1.398 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 4,2 4,2 4,2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003542/0.2147, allocations: 247.3 kB / 0.5037 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.215, allocations: 47.44 kB / 0.5038 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.217, allocations: 0.7158 MB / 0.5045 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.217, allocations: 8 kB / 0.5045 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.217, allocations: 0 / 0.5045 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.217, allocations: 4 kB / 0.5045 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3018/0.5188, allocations: 496.7 kB / 0.505 GB, free: 38.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.52e-05/0.5189, allocations: 1.781 kB / 0.505 GB, free: 38.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.5201, allocations: 148.5 kB / 0.5051 GB, free: 38.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/0.5203, allocations: 21.12 kB / 0.5051 GB, free: 38.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/0.5204, allocations: 17.53 kB / 0.5051 GB, free: 38.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.5215, allocations: 1.301 MB / 0.5064 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.5216, allocations: 3.969 kB / 0.5064 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004636/0.5262, allocations: 1.601 MB / 0.508 GB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.5265, allocations: 129.5 kB / 0.5081 GB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.5266, allocations: 8.406 kB / 0.5081 GB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.5277, allocations: 93.84 kB / 0.5082 GB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.5279, allocations: 43.81 kB / 0.5082 GB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.5279, allocations: 14.62 kB / 0.5083 GB, free: 36.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004439/0.5284, allocations: 232 kB / 0.5085 GB, free: 36.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5284, allocations: 3.781 kB / 0.5085 GB, free: 36.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002653/0.5311, allocations: 221.3 kB / 0.5087 GB, free: 36.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (controllerFeedbackPart1.y,firstOrder1.y,controllerFeedbackPart2.y,firstOrder2.y,controllerFeedbackPart3.y,firstOrder3.y,controllerFeedbackPart4.y,firstOrder4.y,controllerFeedbackPart5.y,firstOrder5.y,controllerFeedbackPart6.y,firstOrder6.y) * 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002198/0.5313, allocations: 112 kB / 0.5088 GB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009686/0.541, allocations: 2.505 MB / 0.5112 GB, free: 35.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/0.5411, allocations: 8.109 kB / 0.5112 GB, free: 35.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.5428, allocations: 451.8 kB / 0.5117 GB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.5445, allocations: 119.2 kB / 0.5118 GB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.5485, allocations: 1.364 MB / 0.5131 GB, free: 34.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/0.5491, allocations: 0.8829 MB / 0.514 GB, free: 34.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000498/0.5496, allocations: 55.48 kB / 0.514 GB, free: 34.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.5498, allocations: 37.17 kB / 0.5141 GB, free: 34.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.164e-06/0.5498, allocations: 0 / 0.5141 GB, free: 34.11 MB / 382.1 MB Notification: Performance of Templates: time 0.02958/0.5794, allocations: 9.258 MB / 0.5231 GB, free: 31.99 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimitersHomotopy/LimitersHomotopy.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches