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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.0009713/0.0009714, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.181/1.181, allocations: 227.2 MB / 245 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008555/0.0008554, allocations: 99.64 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2675/0.2675, allocations: 45.23 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002284/0.0002284, allocations: 12 kB / 468.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2322, allocations: 63.24 MB / 0.5192 GB, free: 37.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09188/0.3241, allocations: 90.35 MB / 0.6074 GB, free: 13.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001728/0.3243, allocations: 67.95 kB / 0.6075 GB, free: 13.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03091/0.3552, allocations: 11.32 MB / 0.6185 GB, free: 1.633 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3552, allocations: 0 / 0.6185 GB, free: 1.633 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.332e-05/0.3553, allocations: 19.94 kB / 0.6186 GB, free: 1.613 MB / 426.7 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.001721/0.357, allocations: 0.9233 MB / 0.6195 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3571, allocations: 12.03 kB / 0.6195 GB, free: 0.625 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.3573, allocations: 75.23 kB / 0.6195 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.3578, allocations: 385.8 kB / 0.6199 GB, free: 136 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.3579, allocations: 40.94 kB / 0.6199 GB, free: 96 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.541e-05/0.358, allocations: 55.91 kB / 0.62 GB, free: 40 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.3593, allocations: 0.6489 MB / 0.6206 GB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3593, allocations: 0 / 0.6206 GB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/0.3593, allocations: 20 kB / 0.6207 GB, free: 15.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.3594, allocations: 15.95 kB / 0.6207 GB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.361, allocations: 0.6283 MB / 0.6213 GB, free: 14.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/0.364, allocations: 1.938 MB / 0.6232 GB, free: 12.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.3655, allocations: 0.6816 MB / 0.6238 GB, free: 11.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.3656, allocations: 12.92 kB / 0.6239 GB, free: 11.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3656, allocations: 58.53 kB / 0.6239 GB, free: 11.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.3657, allocations: 0 / 0.6239 GB, free: 11.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=43): time 0.002509/0.3682, allocations: 0.9071 MB / 0.6248 GB, free: 10.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.3683, allocations: 298.7 kB / 0.6251 GB, free: 10.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.3686, allocations: 300.8 kB / 0.6254 GB, free: 10.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.3686, allocations: 37.7 kB / 0.6254 GB, free: 10.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.3688, allocations: 256.1 kB / 0.6256 GB, free: 9.965 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.3689, allocations: 161.6 kB / 0.6258 GB, free: 9.805 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.369, allocations: 8 kB / 0.6258 GB, free: 9.797 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3691, allocations: 366.8 kB / 0.6262 GB, free: 9.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007593/0.3699, allocations: 268.9 kB / 0.6264 GB, free: 9.168 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/0.3707, allocations: 412.8 kB / 0.6268 GB, free: 8.711 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007704/0.3715, allocations: 295.7 kB / 0.6271 GB, free: 8.422 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3715, allocations: 0 / 0.6271 GB, free: 8.422 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003474/0.375, allocations: 1.227 MB / 0.6283 GB, free: 7.168 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004427/0.3754, allocations: 1.304 MB / 0.6296 GB, free: 5.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3754, allocations: 4 kB / 0.6296 GB, free: 5.758 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/0.3773, allocations: 496.7 kB / 0.63 GB, free: 5.254 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.3778, allocations: 107.8 kB / 0.6301 GB, free: 5.148 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006709/0.3845, allocations: 6.727 MB / 0.6367 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005463/0.3851, allocations: 123.7 kB / 0.6368 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.3851, allocations: 27.88 kB / 0.6369 GB, free: 13.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/0.3851, allocations: 6.812 kB / 0.6369 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001962/0.3871, allocations: 0.7506 MB / 0.6376 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3871, allocations: 0 / 0.6376 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006021/0.3877, allocations: 165.8 kB / 0.6378 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/0.3885, allocations: 195.7 kB / 0.6379 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004036/0.3925, allocations: 3.577 MB / 0.6414 GB, free: 8.914 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.393, allocations: 107.5 kB / 0.6415 GB, free: 8.809 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.393, allocations: 23.98 kB / 0.6416 GB, free: 8.785 MB / 458.7 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.0002224/0.3933, allocations: 245 kB / 0.6418 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.3935, allocations: 51.44 kB / 0.6418 GB, free: 8.484 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.3953, allocations: 0.7157 MB / 0.6425 GB, free: 7.754 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.3953, allocations: 15.94 kB / 0.6426 GB, free: 7.738 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3953, allocations: 7.953 kB / 0.6426 GB, free: 7.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.3954, allocations: 3.984 kB / 0.6426 GB, free: 7.727 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007791/0.3961, allocations: 493 kB / 0.643 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3962, allocations: 0 / 0.643 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007221/0.3969, allocations: 147.8 kB / 0.6432 GB, free: 7.051 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.075e-05/0.397, allocations: 16.86 kB / 0.6432 GB, free: 7.031 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.397, allocations: 15.98 kB / 0.6432 GB, free: 7.016 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007988/0.3978, allocations: 1.312 MB / 0.6445 GB, free: 5.57 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3978, allocations: 3.953 kB / 0.6445 GB, free: 5.566 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.4004, allocations: 1.59 MB / 0.646 GB, free: 3.914 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-05/0.4006, allocations: 128.4 kB / 0.6462 GB, free: 3.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.4006, allocations: 11.95 kB / 0.6462 GB, free: 3.758 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006947/0.4013, allocations: 95.91 kB / 0.6463 GB, free: 3.664 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.702e-05/0.4014, allocations: 43.94 kB / 0.6463 GB, free: 3.621 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.4015, allocations: 15.98 kB / 0.6463 GB, free: 3.605 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002029/0.4017, allocations: 235.1 kB / 0.6466 GB, free: 3.379 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4017, allocations: 0 / 0.6466 GB, free: 3.379 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009682/0.4026, allocations: 219.3 kB / 0.6468 GB, free: 3.164 MB / 458.7 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.0001493/0.4028, allocations: 123.1 kB / 0.6469 GB, free: 3.035 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005318/0.4081, allocations: 2.019 MB / 0.6489 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4081, allocations: 0 / 0.6489 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000921/0.4091, allocations: 446.4 kB / 0.6493 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007579/0.4098, allocations: 134.2 kB / 0.6494 GB, free: 400 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.4121, allocations: 1.356 MB / 0.6507 GB, free: 14.99 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.4125, allocations: 0.8706 MB / 0.6516 GB, free: 14.09 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002857/0.4128, allocations: 59.25 kB / 0.6516 GB, free: 14.04 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.4129, allocations: 39.42 kB / 0.6517 GB, free: 14 MB / 474.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4129, allocations: 0 / 0.6517 GB, free: 14 MB / 474.7 MB Notification: Performance of Templates: time 0.01318/0.4261, allocations: 8.478 MB / 0.66 GB, free: 5.57 MB / 474.7 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