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.001069/0.001069, allocations: 96.48 kB / 17 MB, free: 6.414 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.0008375/0.0008376, allocations: 189.4 kB / 17.89 MB, free: 5.945 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.567/1.567, allocations: 223.3 MB / 241.9 MB, free: 14.58 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.2542/0.2542, allocations: 44.25 MB / 337.3 MB, free: 2.516 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 8 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1336, allocations: 61.93 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.003075/0.1367, allocations: 2.505 MB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1383, allocations: 0.9592 MB / 475.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.1386, allocations: 15.94 kB / 475.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.296e-05/0.1386, allocations: 35.58 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.1389, allocations: 63.38 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006774/0.1396, allocations: 295 kB / 475.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005673/0.1401, allocations: 0.5114 MB / 476 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003127/0.1404, allocations: 188.9 kB / 476.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.1407, allocations: 183.2 kB / 476.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.1409, allocations: 206.9 kB / 476.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.946e-05/0.141, allocations: 20 kB / 476.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.585e-05/0.141, allocations: 20 kB / 476.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.1411, allocations: 83.59 kB / 476.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.541e-05/0.1412, allocations: 101.4 kB / 476.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.1416, allocations: 347.4 kB / 477.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1416, allocations: 0 / 477.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.938e-06/0.1416, allocations: 0 / 477.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1416, allocations: 3.938 kB / 477.1 MB, free: 8.121 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.001724/0.1433, allocations: 0.9158 MB / 478 MB, free: 7.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1434, allocations: 12.02 kB / 478 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.1435, allocations: 67.25 kB / 478.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.144, allocations: 372.8 kB / 478.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.1441, allocations: 37 kB / 478.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.262e-05/0.1442, allocations: 47.91 kB / 478.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.1455, allocations: 0.6722 MB / 479.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1455, allocations: 0 / 479.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/0.1456, allocations: 20 kB / 479.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.1456, allocations: 12 kB / 479.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.1471, allocations: 0.6187 MB / 479.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/0.15, allocations: 1.824 MB / 481.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.1515, allocations: 0.6895 MB / 482.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008533/0.1524, allocations: 373.8 kB / 482.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.485e-05/0.1525, allocations: 11.98 kB / 482.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.1525, allocations: 46.48 kB / 482.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.864e-06/0.1525, allocations: 0 / 482.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002674/0.1552, allocations: 0.9108 MB / 483.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002517/0.1555, allocations: 294.7 kB / 484 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/0.1559, allocations: 345.6 kB / 484.3 MB, free: 500 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.156, allocations: 33.7 kB / 484.4 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.1562, allocations: 268 kB / 484.6 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.1564, allocations: 157.8 kB / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.1564, allocations: 8 kB / 484.8 MB, free: 20 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002513/0.1567, allocations: 366.8 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008268/0.1575, allocations: 272.9 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008527/0.1584, allocations: 420.7 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007843/0.1592, allocations: 303.6 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1592, allocations: 0 / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003546/0.1627, allocations: 1.239 MB / 487.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002101/0.163, allocations: 197.6 kB / 487.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.163, allocations: 4 kB / 487.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/0.1648, allocations: 488.7 kB / 488 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.1653, allocations: 115.8 kB / 488.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/0.1793, allocations: 11.94 MB / 0.4884 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008144/0.1802, allocations: 119.6 kB / 0.4885 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/0.1802, allocations: 20 kB / 0.4885 GB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1803, allocations: 6.344 kB / 0.4885 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002766/0.183, allocations: 0.759 MB / 0.4892 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1831, allocations: 4 kB / 0.4892 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008082/0.1839, allocations: 169.6 kB / 0.4894 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009633/0.1849, allocations: 191.8 kB / 0.4896 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005547/0.1904, allocations: 3.532 MB / 0.493 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007085/0.1912, allocations: 99.91 kB / 0.4931 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.1912, allocations: 20 kB / 0.4932 GB, free: 10.43 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.000428/0.1917, allocations: 245 kB / 0.4934 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/0.192, allocations: 55.42 kB / 0.4934 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.1945, allocations: 0.7041 MB / 0.4941 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.1946, allocations: 8 kB / 0.4941 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.1946, allocations: 7.984 kB / 0.4941 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.1946, allocations: 3.953 kB / 0.4941 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.1959, allocations: 493 kB / 0.4946 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1959, allocations: 4 kB / 0.4946 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009705/0.1969, allocations: 155.8 kB / 0.4948 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/0.197, allocations: 20.84 kB / 0.4948 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.1971, allocations: 12 kB / 0.4948 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009384/0.1981, allocations: 1.297 MB / 0.4961 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.1981, allocations: 4.031 kB / 0.4961 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/0.2007, allocations: 1.536 MB / 0.4976 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.2008, allocations: 124.5 kB / 0.4977 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.755e-05/0.2009, allocations: 12 kB / 0.4977 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000627/0.2015, allocations: 95.86 kB / 0.4978 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.736e-05/0.2016, allocations: 43.89 kB / 0.4978 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.2016, allocations: 15.98 kB / 0.4979 GB, free: 5.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.2019, allocations: 231.2 kB / 0.4981 GB, free: 5.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2019, allocations: 4 kB / 0.4981 GB, free: 5.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00138/0.2033, allocations: 223.4 kB / 0.4983 GB, free: 4.914 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.0001307/0.2034, allocations: 111.2 kB / 0.4984 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00783/0.2112, allocations: 2.502 MB / 0.5008 GB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.2113, allocations: 0 / 0.5008 GB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.2127, allocations: 458.3 kB / 0.5013 GB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.2146, allocations: 125.5 kB / 0.5014 GB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.2183, allocations: 1.375 MB / 0.5027 GB, free: 192 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2297/0.448, allocations: 0.8655 MB / 0.5036 GB, free: 44.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005921/0.4487, allocations: 59.56 kB / 0.5036 GB, free: 44.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.4488, allocations: 32.33 kB / 0.5037 GB, free: 44.96 MB / 382.1 MB Notification: Performance of SimCode: time 2.986e-06/0.4488, allocations: 0 / 0.5037 GB, free: 44.96 MB / 382.1 MB Notification: Performance of Templates: time 0.02042/0.4693, allocations: 9.278 MB / 0.5127 GB, free: 43.88 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches