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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.001029, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007688/0.0007688, allocations: 96.41 kB / 292.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3134/0.3134, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003061, allocations: 8 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3226, allocations: 61.89 MB / 0.5095 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.4376, allocations: 89.29 MB / 0.5967 GB, free: 5.863 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/0.4378, allocations: 71.97 kB / 0.5968 GB, free: 5.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03016/0.468, allocations: 11.44 MB / 0.608 GB, free: 10.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.468, allocations: 0 / 0.608 GB, free: 10.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.417e-05/0.4681, allocations: 16 kB / 0.608 GB, free: 10.28 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.001613/0.4697, allocations: 0.9349 MB / 0.6089 GB, free: 9.293 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4697, allocations: 8.031 kB / 0.6089 GB, free: 9.285 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.4699, allocations: 67.25 kB / 0.609 GB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.4704, allocations: 377.9 kB / 0.6093 GB, free: 8.809 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.4704, allocations: 40.95 kB / 0.6094 GB, free: 8.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/0.4705, allocations: 47.91 kB / 0.6094 GB, free: 8.723 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.4718, allocations: 0.6606 MB / 0.6101 GB, free: 8.016 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.4718, allocations: 4 kB / 0.6101 GB, free: 8.012 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/0.4718, allocations: 16 kB / 0.6101 GB, free: 7.996 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.4719, allocations: 12 kB / 0.6101 GB, free: 7.984 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.4734, allocations: 0.6334 MB / 0.6107 GB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002935/0.4763, allocations: 1.933 MB / 0.6126 GB, free: 5.336 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.4777, allocations: 0.6894 MB / 0.6133 GB, free: 4.582 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.651e-05/0.4778, allocations: 16.95 kB / 0.6133 GB, free: 4.566 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.4778, allocations: 46.5 kB / 0.6133 GB, free: 4.512 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 1.984e-06/0.4778, allocations: 0 / 0.6133 GB, free: 4.512 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.00241/0.4802, allocations: 0.9122 MB / 0.6142 GB, free: 3.594 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.4804, allocations: 290.7 kB / 0.6145 GB, free: 3.242 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.4806, allocations: 300.8 kB / 0.6148 GB, free: 2.941 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.4807, allocations: 33.7 kB / 0.6148 GB, free: 2.902 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.4808, allocations: 260.5 kB / 0.6151 GB, free: 2.645 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.4809, allocations: 161.6 kB / 0.6152 GB, free: 2.484 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.481, allocations: 8 kB / 0.6152 GB, free: 2.477 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4811, allocations: 362.7 kB / 0.6156 GB, free: 2.113 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007984/0.4819, allocations: 276.9 kB / 0.6158 GB, free: 1.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007903/0.4827, allocations: 416.8 kB / 0.6162 GB, free: 1.379 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007338/0.4835, allocations: 295.7 kB / 0.6165 GB, free: 1.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4835, allocations: 0 / 0.6165 GB, free: 1.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003343/0.4868, allocations: 1.216 MB / 0.6177 GB, free: 15.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004012/0.4872, allocations: 1.312 MB / 0.619 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.4873, allocations: 4 kB / 0.619 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001759/0.489, allocations: 496.7 kB / 0.6195 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.4895, allocations: 107.9 kB / 0.6196 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006356/0.4959, allocations: 6.73 MB / 0.6261 GB, free: 6.695 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005727/0.4964, allocations: 127.6 kB / 0.6263 GB, free: 6.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.4965, allocations: 24.06 kB / 0.6263 GB, free: 6.547 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.4965, allocations: 4 kB / 0.6263 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001914/0.4984, allocations: 0.7587 MB / 0.627 GB, free: 5.777 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4984, allocations: 4 kB / 0.627 GB, free: 5.773 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005835/0.499, allocations: 165.8 kB / 0.6272 GB, free: 5.605 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/0.4998, allocations: 191.8 kB / 0.6274 GB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003919/0.5037, allocations: 3.571 MB / 0.6309 GB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/0.5042, allocations: 107.6 kB / 0.631 GB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.5043, allocations: 16 kB / 0.631 GB, free: 1.457 MB / 442.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.000354/0.5046, allocations: 248.9 kB / 0.6312 GB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.5048, allocations: 47.44 kB / 0.6313 GB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.5066, allocations: 0.716 MB / 0.632 GB, free: 436 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.5066, allocations: 4 kB / 0.632 GB, free: 432 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.5067, allocations: 11.94 kB / 0.632 GB, free: 420 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.5067, allocations: 7.984 kB / 0.632 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008158/0.5075, allocations: 497 kB / 0.6325 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5075, allocations: 0 / 0.6325 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/0.5082, allocations: 151.8 kB / 0.6326 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.519e-05/0.5083, allocations: 16.84 kB / 0.6326 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.5083, allocations: 16 kB / 0.6326 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008718/0.5092, allocations: 1.309 MB / 0.6339 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.5092, allocations: 7.969 kB / 0.6339 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.5118, allocations: 1.597 MB / 0.6355 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.5119, allocations: 120.5 kB / 0.6356 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.5119, allocations: 8 kB / 0.6356 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/0.5126, allocations: 99.91 kB / 0.6357 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.5127, allocations: 47.8 kB / 0.6358 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.5128, allocations: 12 kB / 0.6358 GB, free: 12.28 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002087/0.513, allocations: 235.2 kB / 0.636 GB, free: 12.05 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.513, allocations: 0 / 0.636 GB, free: 12.05 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001099/0.5141, allocations: 223.2 kB / 0.6362 GB, free: 11.83 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.0001685/0.5143, allocations: 115.6 kB / 0.6363 GB, free: 11.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005431/0.5197, allocations: 2.021 MB / 0.6383 GB, free: 9.633 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5198, allocations: 0 / 0.6383 GB, free: 9.633 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009376/0.5207, allocations: 447.2 kB / 0.6387 GB, free: 9.184 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009148/0.5216, allocations: 122.6 kB / 0.6388 GB, free: 9.066 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.5242, allocations: 1.364 MB / 0.6402 GB, free: 7.668 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.5247, allocations: 0.8745 MB / 0.641 GB, free: 6.766 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003073/0.525, allocations: 59.25 kB / 0.6411 GB, free: 6.711 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.5251, allocations: 31.44 kB / 0.6411 GB, free: 6.68 MB / 458.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5251, allocations: 0 / 0.6411 GB, free: 6.68 MB / 458.7 MB Notification: Performance of Templates: time 0.01412/0.5392, allocations: 8.494 MB / 0.6494 GB, free: 14.26 MB / 474.7 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