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.001122/0.001122, allocations: 97.92 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.00144, allocations: 202.5 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2485/0.2485, allocations: 46.19 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002783/0.0002783, allocations: 4.219 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1387, allocations: 63.58 MB / 482.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.003433/0.1422, allocations: 2.517 MB / 484.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.1444, allocations: 0.9786 MB / 485.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.1447, allocations: 19.88 kB / 485.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.1448, allocations: 35.58 kB / 486 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.145, allocations: 59.44 kB / 486 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008535/0.1459, allocations: 295.5 kB / 486.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006302/0.1465, allocations: 0.5037 MB / 486.8 MB, free: 120 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000412/0.147, allocations: 181 kB / 487 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003654/0.1473, allocations: 183.2 kB / 487.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.1476, allocations: 202.9 kB / 487.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.268e-05/0.1477, allocations: 20 kB / 487.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.974e-05/0.1478, allocations: 35.98 kB / 487.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.187e-05/0.1479, allocations: 75.61 kB / 487.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.148, allocations: 101.4 kB / 487.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.1484, allocations: 351.4 kB / 487.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.1484, allocations: 0 / 487.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1484, allocations: 3.938 kB / 487.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1484, allocations: 0 / 487.9 MB, free: 14.98 MB / 366.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.001742/0.1502, allocations: 0.9042 MB / 488.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.1503, allocations: 12.56 kB / 488.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002891/0.1505, allocations: 71.23 kB / 488.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/0.1511, allocations: 376.7 kB / 489.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.1511, allocations: 40.94 kB / 489.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.032e-05/0.1512, allocations: 51.91 kB / 489.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.1526, allocations: 0.6567 MB / 490 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1526, allocations: 0 / 490 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.1527, allocations: 20 kB / 490.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.1527, allocations: 19.92 kB / 490.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.1543, allocations: 0.6227 MB / 490.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002798/0.1571, allocations: 1.824 MB / 492.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.1586, allocations: 0.6855 MB / 493.2 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007796/0.1594, allocations: 377.8 kB / 493.6 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.75e-05/0.1595, allocations: 15.98 kB / 493.6 MB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.1595, allocations: 46.48 kB / 493.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.613e-06/0.1595, allocations: 0 / 493.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002475/0.162, allocations: 0.9121 MB / 494.6 MB, free: 8.043 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000197/0.1622, allocations: 290.7 kB / 494.8 MB, free: 7.691 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.1627, allocations: 353.5 kB / 495.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.1627, allocations: 33.7 kB / 495.2 MB, free: 7.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.163, allocations: 268.4 kB / 495.5 MB, free: 7.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.1631, allocations: 153.8 kB / 495.6 MB, free: 6.875 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.1631, allocations: 8 kB / 495.6 MB, free: 6.867 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.1633, allocations: 358.8 kB / 496 MB, free: 6.508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007305/0.1641, allocations: 276.9 kB / 496.3 MB, free: 6.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008572/0.1649, allocations: 412.8 kB / 496.7 MB, free: 5.781 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007727/0.1657, allocations: 311.6 kB / 497 MB, free: 5.477 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1657, allocations: 0 / 497 MB, free: 5.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003412/0.1692, allocations: 1.239 MB / 498.2 MB, free: 4.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.1693, allocations: 189.2 kB / 498.4 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.1693, allocations: 4 kB / 498.4 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/0.1711, allocations: 492.7 kB / 498.9 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.1716, allocations: 115.8 kB / 499 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/0.1854, allocations: 11.94 MB / 0.499 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006933/0.1861, allocations: 119.6 kB / 0.4991 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.1862, allocations: 20 kB / 0.4991 GB, free: 6.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.1862, allocations: 0 / 0.4991 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001921/0.1881, allocations: 0.7665 MB / 0.4998 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1882, allocations: 4 kB / 0.4998 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/0.1887, allocations: 169.6 kB / 0.5 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006837/0.1894, allocations: 195.7 kB / 0.5002 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004016/0.1935, allocations: 3.528 MB / 0.5036 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/0.1939, allocations: 103.6 kB / 0.5037 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.194, allocations: 20 kB / 0.5037 GB, free: 1.285 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.0003176/0.1943, allocations: 239.4 kB / 0.504 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.1945, allocations: 51.42 kB / 0.504 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.1962, allocations: 0.7199 MB / 0.5047 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.1963, allocations: 11.98 kB / 0.5047 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1963, allocations: 0 / 0.5047 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1963, allocations: 4 kB / 0.5047 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3011/0.4974, allocations: 493.1 kB / 0.5052 GB, free: 37.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.4975, allocations: 2.375 kB / 0.5052 GB, free: 37.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008381/0.4983, allocations: 146.2 kB / 0.5054 GB, free: 37.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001483/0.4985, allocations: 19.19 kB / 0.5054 GB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-05/0.4985, allocations: 14.56 kB / 0.5054 GB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008954/0.4994, allocations: 1.296 MB / 0.5067 GB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.4995, allocations: 2.75 kB / 0.5067 GB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/0.5028, allocations: 1.532 MB / 0.5082 GB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.5029, allocations: 122.6 kB / 0.5083 GB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/0.503, allocations: 11.48 kB / 0.5083 GB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006417/0.5036, allocations: 95.55 kB / 0.5084 GB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.5038, allocations: 42.97 kB / 0.5084 GB, free: 35.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.5038, allocations: 15.75 kB / 0.5084 GB, free: 35.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003277/0.5042, allocations: 236.2 kB / 0.5087 GB, free: 35.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5042, allocations: 2.594 kB / 0.5087 GB, free: 35.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001594/0.5058, allocations: 224.1 kB / 0.5089 GB, free: 35.78 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.0001841/0.506, allocations: 108.2 kB / 0.509 GB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006299/0.5123, allocations: 2.511 MB / 0.5114 GB, free: 34.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.5123, allocations: 0 / 0.5114 GB, free: 34.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.5133, allocations: 452.1 kB / 0.5119 GB, free: 34.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.5145, allocations: 126.2 kB / 0.512 GB, free: 34.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.5173, allocations: 1.377 MB / 0.5133 GB, free: 34.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.5178, allocations: 0.8697 MB / 0.5142 GB, free: 33.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003545/0.5181, allocations: 60.42 kB / 0.5142 GB, free: 33.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.5183, allocations: 32.36 kB / 0.5143 GB, free: 33.3 MB / 382.1 MB Notification: Performance of SimCode: time 9.81e-07/0.5183, allocations: 3.719 kB / 0.5143 GB, free: 33.3 MB / 382.1 MB Notification: Performance of Templates: time 0.01936/0.5377, allocations: 9.275 MB / 0.5233 GB, free: 31.23 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches