Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001631/0.00163, allocations: 182.5 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 221.9 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007445/0.0007445, allocations: 78.83 kB / 270.2 MB, free: 13.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2036/0.2036, allocations: 43.56 MB / 362 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000296/0.0002961, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1158, allocations: 58.86 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3538/0.4696, allocations: 88.29 MB / 0.565 GB, free: 11.56 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.4699, allocations: 65.58 kB / 0.565 GB, free: 11.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03261/0.5025, allocations: 11.38 MB / 0.5761 GB, free: 1.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.238e-06/0.5025, allocations: 4 kB / 0.5762 GB, free: 1.809 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.012e-05/0.5026, allocations: 19.88 kB / 0.5762 GB, free: 1.789 MB / 378.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.001812/0.5044, allocations: 0.9437 MB / 0.5771 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5044, allocations: 12.03 kB / 0.5771 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.5046, allocations: 67.25 kB / 0.5772 GB, free: 0.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005741/0.5052, allocations: 399.9 kB / 0.5775 GB, free: 360 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.5052, allocations: 32.62 kB / 0.5776 GB, free: 344 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-05/0.5053, allocations: 48.31 kB / 0.5776 GB, free: 312 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.5067, allocations: 0.6532 MB / 0.5783 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.5067, allocations: 3.984 kB / 0.5783 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.5068, allocations: 27.19 kB / 0.5783 GB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.5068, allocations: 12 kB / 0.5783 GB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.5084, allocations: 0.6234 MB / 0.5789 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003575/0.512, allocations: 1.933 MB / 0.5808 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.5136, allocations: 0.6926 MB / 0.5815 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.668e-05/0.5137, allocations: 12.03 kB / 0.5815 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.5137, allocations: 43.06 kB / 0.5815 GB, free: 12.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 4.829e-06/0.5137, allocations: 4 kB / 0.5815 GB, free: 12.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.002623/0.5164, allocations: 0.9131 MB / 0.5824 GB, free: 11.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/0.5166, allocations: 302.6 kB / 0.5827 GB, free: 11.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.5169, allocations: 310.9 kB / 0.583 GB, free: 11.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.517, allocations: 33.27 kB / 0.583 GB, free: 11.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.5171, allocations: 269 kB / 0.5833 GB, free: 11.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.5173, allocations: 161 kB / 0.5835 GB, free: 10.92 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.5173, allocations: 15.69 kB / 0.5835 GB, free: 10.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5175, allocations: 358.7 kB / 0.5838 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000763/0.5183, allocations: 268.4 kB / 0.5841 GB, free: 10.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008389/0.5191, allocations: 412.3 kB / 0.5845 GB, free: 9.957 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000783/0.5199, allocations: 299 kB / 0.5847 GB, free: 9.727 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.5199, allocations: 4 kB / 0.5847 GB, free: 9.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003645/0.5236, allocations: 1.214 MB / 0.5859 GB, free: 8.648 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006288/0.5242, allocations: 1.319 MB / 0.5872 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.5242, allocations: 4 kB / 0.5872 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/0.5262, allocations: 493.8 kB / 0.5877 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.5267, allocations: 111.6 kB / 0.5878 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007789/0.5345, allocations: 6.734 MB / 0.5944 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007733/0.5354, allocations: 126.4 kB / 0.5945 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.5354, allocations: 19.88 kB / 0.5945 GB, free: 15.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.5354, allocations: 4 kB / 0.5945 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002003/0.5374, allocations: 0.7565 MB / 0.5953 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5375, allocations: 4 kB / 0.5953 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006796/0.5381, allocations: 170.7 kB / 0.5954 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007645/0.5389, allocations: 191.1 kB / 0.5956 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004311/0.5432, allocations: 3.564 MB / 0.5991 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006429/0.5439, allocations: 104.5 kB / 0.5992 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.544, allocations: 19.44 kB / 0.5992 GB, free: 11.27 MB / 410.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.0004246/0.5444, allocations: 248.6 kB / 0.5994 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.5446, allocations: 54.73 kB / 0.5995 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.5466, allocations: 0.725 MB / 0.6002 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.5466, allocations: 4 kB / 0.6002 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5466, allocations: 4 kB / 0.6002 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.5466, allocations: 3.984 kB / 0.6002 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008666/0.5475, allocations: 499.7 kB / 0.6007 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.5475, allocations: 8.359 kB / 0.6007 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007044/0.5482, allocations: 147.6 kB / 0.6008 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.5483, allocations: 29.39 kB / 0.6009 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/0.5484, allocations: 15.06 kB / 0.6009 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009713/0.5494, allocations: 1.304 MB / 0.6022 GB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5494, allocations: 0 / 0.6022 GB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/0.5522, allocations: 1.595 MB / 0.6037 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.5524, allocations: 123.2 kB / 0.6038 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.228e-05/0.5525, allocations: 19.17 kB / 0.6039 GB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007328/0.5532, allocations: 90.81 kB / 0.6039 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.5533, allocations: 43.19 kB / 0.604 GB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.5534, allocations: 11.75 kB / 0.604 GB, free: 6.602 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002852/0.5537, allocations: 244.5 kB / 0.6042 GB, free: 6.406 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5537, allocations: 4 kB / 0.6042 GB, free: 6.402 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001153/0.5548, allocations: 212.9 kB / 0.6044 GB, free: 6.219 MB / 410.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.0001971/0.555, allocations: 125.7 kB / 0.6046 GB, free: 6.094 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005655/0.5607, allocations: 2.014 MB / 0.6065 GB, free: 4.219 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.5607, allocations: 0 / 0.6065 GB, free: 4.219 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.5618, allocations: 454.7 kB / 0.607 GB, free: 3.816 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009551/0.5628, allocations: 113.3 kB / 0.6071 GB, free: 3.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.5655, allocations: 1.386 MB / 0.6084 GB, free: 2.379 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.566, allocations: 0.8823 MB / 0.6093 GB, free: 1.469 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003239/0.5663, allocations: 63.25 kB / 0.6093 GB, free: 1.402 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.5665, allocations: 31.44 kB / 0.6094 GB, free: 1.371 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5665, allocations: 4 kB / 0.6094 GB, free: 1.367 MB / 410.7 MB Notification: Performance of Templates: time 0.01448/0.581, allocations: 8.505 MB / 0.6177 GB, free: 8.895 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimitersHomotopy/LimitersHomotopy.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches