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.001174/0.001174, allocations: 175.2 kB / 16.76 MB, free: 4.91 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.543/1.543, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007465/0.0007465, allocations: 88.56 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3026/0.3026, allocations: 43.57 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 16 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09982/0.1002, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2775/0.3777, allocations: 88.32 MB / 0.5662 GB, free: 13.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.3781, allocations: 63.97 kB / 0.5663 GB, free: 13.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05829/0.4364, allocations: 11.41 MB / 0.5774 GB, free: 2.184 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.258e-06/0.4365, allocations: 3.938 kB / 0.5774 GB, free: 2.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.402e-05/0.4365, allocations: 12 kB / 0.5774 GB, free: 2.168 MB / 394.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.002512/0.4391, allocations: 0.94 MB / 0.5783 GB, free: 1.176 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.4391, allocations: 8.031 kB / 0.5783 GB, free: 1.168 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.4394, allocations: 72.09 kB / 0.5784 GB, free: 1.098 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007388/0.4401, allocations: 406.7 kB / 0.5788 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.4402, allocations: 37.38 kB / 0.5788 GB, free: 0.625 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.926e-05/0.4403, allocations: 48.38 kB / 0.5789 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.4417, allocations: 0.6611 MB / 0.5795 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.4418, allocations: 4.172 kB / 0.5795 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-05/0.4418, allocations: 23.94 kB / 0.5796 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.4419, allocations: 12 kB / 0.5796 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.4436, allocations: 0.6161 MB / 0.5802 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/0.4475, allocations: 1.954 MB / 0.5821 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.4491, allocations: 0.6855 MB / 0.5827 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008096/0.45, allocations: 377.8 kB / 0.5831 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.393e-05/0.45, allocations: 11.97 kB / 0.5831 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.4501, allocations: 50.44 kB / 0.5832 GB, free: 11.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 3.316e-06/0.4501, allocations: 4 kB / 0.5832 GB, free: 11.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.002505/0.4526, allocations: 0.8966 MB / 0.584 GB, free: 11.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001623/0.4528, allocations: 294.7 kB / 0.5843 GB, free: 10.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.4532, allocations: 361.9 kB / 0.5847 GB, free: 10.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.4533, allocations: 37.7 kB / 0.5847 GB, free: 10.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.4535, allocations: 272.4 kB / 0.585 GB, free: 10.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.4536, allocations: 149.8 kB / 0.5851 GB, free: 9.891 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.4537, allocations: 12 kB / 0.5851 GB, free: 9.879 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4538, allocations: 366.7 kB / 0.5855 GB, free: 9.512 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00075/0.4546, allocations: 272.9 kB / 0.5857 GB, free: 9.246 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008536/0.4555, allocations: 412.8 kB / 0.5861 GB, free: 8.789 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.4571, allocations: 0.6649 MB / 0.5868 GB, free: 8.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4571, allocations: 0 / 0.5868 GB, free: 8.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003584/0.4607, allocations: 1.235 MB / 0.588 GB, free: 6.816 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002071/0.4609, allocations: 193.2 kB / 0.5882 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.4609, allocations: 7.984 kB / 0.5882 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/0.4627, allocations: 488.7 kB / 0.5886 GB, free: 6.074 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.4632, allocations: 115.8 kB / 0.5887 GB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.4761, allocations: 11.95 MB / 0.6004 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006908/0.4768, allocations: 127.7 kB / 0.6005 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.4769, allocations: 20 kB / 0.6006 GB, free: 8.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.685e-06/0.4769, allocations: 4 kB / 0.6006 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001894/0.4788, allocations: 0.7548 MB / 0.6013 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4788, allocations: 4 kB / 0.6013 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005741/0.4794, allocations: 161.8 kB / 0.6015 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/0.4801, allocations: 195.7 kB / 0.6016 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003884/0.484, allocations: 3.532 MB / 0.6051 GB, free: 3.996 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.4845, allocations: 99.59 kB / 0.6052 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.4846, allocations: 20 kB / 0.6052 GB, free: 3.879 MB / 426.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.0003227/0.4849, allocations: 245 kB / 0.6054 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.4851, allocations: 51.38 kB / 0.6055 GB, free: 3.578 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.4868, allocations: 0.7202 MB / 0.6062 GB, free: 2.848 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.4869, allocations: 8 kB / 0.6062 GB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.4869, allocations: 4 kB / 0.6062 GB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.4869, allocations: 4 kB / 0.6062 GB, free: 2.832 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008297/0.4877, allocations: 0.4932 MB / 0.6067 GB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.4878, allocations: 8 kB / 0.6067 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/0.4884, allocations: 147.8 kB / 0.6068 GB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.222e-05/0.4885, allocations: 20.86 kB / 0.6069 GB, free: 2.113 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.4885, allocations: 15.98 kB / 0.6069 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000882/0.4894, allocations: 1.297 MB / 0.6081 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4894, allocations: 4.031 kB / 0.6081 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.492, allocations: 1.536 MB / 0.6096 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.4921, allocations: 132.3 kB / 0.6098 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.4922, allocations: 8 kB / 0.6098 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007031/0.4929, allocations: 91.92 kB / 0.6099 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.493, allocations: 43.88 kB / 0.6099 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.4931, allocations: 8 kB / 0.6099 GB, free: 14.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000255/0.4933, allocations: 251.2 kB / 0.6102 GB, free: 14.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4933, allocations: 3.938 kB / 0.6102 GB, free: 14.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001312/0.4947, allocations: 231.4 kB / 0.6104 GB, free: 14.33 MB / 442.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.0001728/0.4948, allocations: 115.8 kB / 0.6105 GB, free: 14.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005817/0.5007, allocations: 2.508 MB / 0.6129 GB, free: 11.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.5007, allocations: 0 / 0.6129 GB, free: 11.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009446/0.5017, allocations: 450.3 kB / 0.6134 GB, free: 11.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.503, allocations: 131.6 kB / 0.6135 GB, free: 11.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.5056, allocations: 1.395 MB / 0.6149 GB, free: 9.598 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.5062, allocations: 0.8708 MB / 0.6157 GB, free: 8.695 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003627/0.5066, allocations: 51.3 kB / 0.6158 GB, free: 8.641 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.5067, allocations: 35.44 kB / 0.6158 GB, free: 8.605 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5067, allocations: 0 / 0.6158 GB, free: 8.605 MB / 442.7 MB Notification: Performance of Templates: time 0.01652/0.5232, allocations: 9.389 MB / 0.625 GB, free: 15.26 MB / 458.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/jenkins1/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