Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.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.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_4.0.0_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_4.0.0_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001389, allocations: 97.25 kB / 16.99 MB, free: 5.941 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.001541/0.001541, allocations: 180 kB / 17.87 MB, free: 5.609 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.561/1.561, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2236/0.2236, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 8 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.153, allocations: 61.93 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.003379/0.1565, allocations: 2.493 MB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.1586, allocations: 0.9476 MB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.1588, allocations: 11.94 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.859e-05/0.1589, allocations: 35.59 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.1592, allocations: 91.64 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007168/0.1599, allocations: 291.4 kB / 475.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.1603, allocations: 356.5 kB / 475.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.1607, allocations: 188.8 kB / 475.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.1609, allocations: 175.2 kB / 476 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.1611, allocations: 210.9 kB / 476.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.1612, allocations: 16 kB / 476.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.031e-05/0.1613, allocations: 24 kB / 476.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.663e-05/0.1613, allocations: 79.59 kB / 476.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.1615, allocations: 101.5 kB / 476.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.1618, allocations: 347.4 kB / 476.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1618, allocations: 0 / 476.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1619, allocations: 0 / 476.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1619, allocations: 0 / 476.8 MB, free: 8.406 MB / 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.001813/0.1637, allocations: 0.9158 MB / 477.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/0.1638, allocations: 8.031 kB / 477.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.1639, allocations: 67.25 kB / 477.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/0.1645, allocations: 376.8 kB / 478.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.1645, allocations: 37 kB / 478.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.603e-05/0.1646, allocations: 51.91 kB / 478.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.1661, allocations: 0.6566 MB / 478.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.1661, allocations: 11.92 kB / 478.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.204e-05/0.1662, allocations: 20 kB / 478.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.1662, allocations: 12 kB / 478.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.1678, allocations: 0.6166 MB / 479.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002731/0.1706, allocations: 1.817 MB / 481.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.1722, allocations: 0.6941 MB / 482.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.1723, allocations: 15.97 kB / 482.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.1723, allocations: 42.56 kB / 482.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.654e-06/0.1723, allocations: 0 / 482.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002575/0.1749, allocations: 0.9082 MB / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/0.1751, allocations: 298.7 kB / 483.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.1754, allocations: 345.6 kB / 483.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.1755, allocations: 37.7 kB / 483.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.1757, allocations: 256.1 kB / 483.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.1758, allocations: 157.7 kB / 484.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.1758, allocations: 12 kB / 484.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.176, allocations: 362.7 kB / 484.5 MB, free: 344 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007821/0.1768, allocations: 276.9 kB / 484.7 MB, free: 64 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008772/0.1777, allocations: 420.7 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008056/0.1785, allocations: 291.7 kB / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1785, allocations: 0 / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003656/0.1822, allocations: 1.247 MB / 486.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007649/0.1829, allocations: 1.312 MB / 488 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.183, allocations: 4.328 kB / 488 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/0.1848, allocations: 492.7 kB / 488.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.1853, allocations: 111.9 kB / 488.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/0.1996, allocations: 12.08 MB / 0.4889 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006204/0.2003, allocations: 123.7 kB / 0.489 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.2003, allocations: 27.92 kB / 0.4891 GB, free: 14.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2003, allocations: 10.3 kB / 0.4891 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002055/0.2024, allocations: 0.7584 MB / 0.4898 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2024, allocations: 4.375 kB / 0.4898 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/0.203, allocations: 165.8 kB / 0.49 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/0.2038, allocations: 199.7 kB / 0.4902 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004377/0.2082, allocations: 3.568 MB / 0.4936 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00061/0.2088, allocations: 99.59 kB / 0.4937 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.2088, allocations: 20 kB / 0.4938 GB, free: 9.746 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.0004723/0.2093, allocations: 241 kB / 0.494 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.2096, allocations: 51.42 kB / 0.494 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/0.2116, allocations: 0.7198 MB / 0.4947 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.2116, allocations: 11.94 kB / 0.4948 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2116, allocations: 0 / 0.4948 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.2117, allocations: 7.984 kB / 0.4948 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009116/0.2126, allocations: 493 kB / 0.4952 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.2126, allocations: 4 kB / 0.4952 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000674/0.2133, allocations: 143.8 kB / 0.4954 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.343e-05/0.2134, allocations: 24.84 kB / 0.4954 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.2134, allocations: 15.95 kB / 0.4954 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.2145, allocations: 1.305 MB / 0.4967 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2145, allocations: 4.062 kB / 0.4967 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/0.2175, allocations: 1.597 MB / 0.4983 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.2177, allocations: 124.5 kB / 0.4984 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.2177, allocations: 16 kB / 0.4984 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009348/0.2187, allocations: 87.91 kB / 0.4985 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.2189, allocations: 39.94 kB / 0.4985 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.2189, allocations: 16 kB / 0.4985 GB, free: 4.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003599/0.2193, allocations: 231.2 kB / 0.4987 GB, free: 4.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.148e-05/0.2193, allocations: 112 / 0.4987 GB, free: 4.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002105/0.2214, allocations: 231.3 kB / 0.499 GB, free: 4.129 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.0001976/0.2216, allocations: 123.1 kB / 0.4991 GB, free: 3.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006728/0.2284, allocations: 2.495 MB / 0.5015 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-05/0.2284, allocations: 4.062 kB / 0.5015 GB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.2296, allocations: 455.4 kB / 0.502 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.2306, allocations: 119.7 kB / 0.5021 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2345/0.4651, allocations: 1.368 MB / 0.5034 GB, free: 45.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.4656, allocations: 0.8793 MB / 0.5043 GB, free: 44.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003647/0.466, allocations: 56.75 kB / 0.5043 GB, free: 44.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.4661, allocations: 33.31 kB / 0.5044 GB, free: 44.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4661, allocations: 0 / 0.5044 GB, free: 44.75 MB / 382.1 MB Notification: Performance of Templates: time 0.0177/0.4839, allocations: 9.269 MB / 0.5134 GB, free: 43.62 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches