Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002272/0.002271, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 84.86 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2866/0.2866, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.1e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3972, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/0.5852, allocations: 90.1 MB / 0.5539 GB, free: 9.203 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.5855, allocations: 67.97 kB / 0.5539 GB, free: 9.137 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07617/0.6617, allocations: 15.7 MB / 0.5693 GB, free: 9.41 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.6618, allocations: 0 / 0.5693 GB, free: 9.41 MB / 411.1 MB Notification: Performance of Transformations before backend: time 9.969e-05/0.6619, allocations: 23.94 kB / 0.5693 GB, free: 9.387 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.0036/0.6655, allocations: 1.04 MB / 0.5703 GB, free: 8.301 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.6656, allocations: 12.03 kB / 0.5703 GB, free: 8.289 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004123/0.666, allocations: 98.78 kB / 0.5704 GB, free: 8.191 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.6682, allocations: 0.6212 MB / 0.571 GB, free: 7.531 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/0.6683, allocations: 16 kB / 0.571 GB, free: 7.516 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.6684, allocations: 39.94 kB / 0.5711 GB, free: 7.477 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001112/0.6695, allocations: 330.5 kB / 0.5714 GB, free: 7.152 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.6709, allocations: 0.5141 MB / 0.5719 GB, free: 6.586 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.6709, allocations: 3.938 kB / 0.5719 GB, free: 6.582 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-05/0.671, allocations: 0 / 0.5719 GB, free: 6.582 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.6711, allocations: 16 kB / 0.5719 GB, free: 6.566 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005114/0.6762, allocations: 2.196 MB / 0.5741 GB, free: 4.297 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/0.6788, allocations: 0.6912 MB / 0.5747 GB, free: 3.562 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/0.6793, allocations: 177.7 kB / 0.5749 GB, free: 3.383 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.957e-05/0.6794, allocations: 16.05 kB / 0.5749 GB, free: 3.367 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.6795, allocations: 42.56 kB / 0.575 GB, free: 3.316 MB / 411.1 MB Notification: Performance of pre-optimization done (n=46): time 3.898e-06/0.6795, allocations: 4 kB / 0.575 GB, free: 3.312 MB / 411.1 MB Notification: Performance of matching and sorting (n=46): time 0.001294/0.6808, allocations: 413.6 kB / 0.5754 GB, free: 2.902 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.893e-05/0.6809, allocations: 136.5 kB / 0.5755 GB, free: 2.738 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008976/0.6819, allocations: 459.9 kB / 0.5759 GB, free: 2.285 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-05/0.6819, allocations: 29.64 kB / 0.576 GB, free: 2.25 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/0.6823, allocations: 379.2 kB / 0.5763 GB, free: 1.875 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.6825, allocations: 157.7 kB / 0.5765 GB, free: 1.719 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.6826, allocations: 0 / 0.5765 GB, free: 1.719 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.6828, allocations: 330.8 kB / 0.5768 GB, free: 1.387 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/0.6832, allocations: 149.1 kB / 0.5769 GB, free: 1.242 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005522/0.6838, allocations: 247.2 kB / 0.5772 GB, free: 0.9609 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.6843, allocations: 165.5 kB / 0.5773 GB, free: 0.8047 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6843, allocations: 0 / 0.5773 GB, free: 0.8047 MB / 411.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001311/0.6856, allocations: 443.7 kB / 0.5777 GB, free: 372 kB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004474/0.6861, allocations: 0.8709 MB / 0.5786 GB, free: 15.43 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.6862, allocations: 4 kB / 0.5786 GB, free: 15.42 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/0.6862, allocations: 4 kB / 0.5786 GB, free: 15.42 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/0.6881, allocations: 207.7 kB / 0.5788 GB, free: 15.21 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.6882, allocations: 12 kB / 0.5788 GB, free: 15.2 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.6894, allocations: 107.6 kB / 0.5789 GB, free: 15.1 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.6896, allocations: 16 kB / 0.5789 GB, free: 15.08 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.6896, allocations: 7.984 kB / 0.5789 GB, free: 15.07 MB / 427.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001092/0.6907, allocations: 358.3 kB / 0.5793 GB, free: 14.72 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.6907, allocations: 4 kB / 0.5793 GB, free: 14.72 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.6908, allocations: 8.281 kB / 0.5793 GB, free: 14.71 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.6923, allocations: 175.8 kB / 0.5795 GB, free: 14.54 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.6924, allocations: 8 kB / 0.5795 GB, free: 14.53 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006644/0.6931, allocations: 79.48 kB / 0.5795 GB, free: 14.45 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.6931, allocations: 20 kB / 0.5796 GB, free: 14.43 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002432/0.6934, allocations: 120.8 kB / 0.5797 GB, free: 14.31 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/0.6937, allocations: 71.16 kB / 0.5797 GB, free: 14.24 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.694, allocations: 71.22 kB / 0.5798 GB, free: 14.17 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.694, allocations: 8 kB / 0.5798 GB, free: 14.16 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.694, allocations: 0 / 0.5798 GB, free: 14.16 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.694, allocations: 7.922 kB / 0.5798 GB, free: 14.15 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.6967, allocations: 1.077 MB / 0.5809 GB, free: 13.03 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.6967, allocations: 0 / 0.5809 GB, free: 13.03 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/0.6982, allocations: 155.8 kB / 0.581 GB, free: 12.88 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.6983, allocations: 0 / 0.581 GB, free: 12.88 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.497e-05/0.6983, allocations: 7.984 kB / 0.581 GB, free: 12.87 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.6983, allocations: 4 kB / 0.581 GB, free: 12.87 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.6984, allocations: 3.953 kB / 0.581 GB, free: 12.86 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.7002, allocations: 0.8247 MB / 0.5819 GB, free: 12.01 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003963/0.7007, allocations: 184.1 kB / 0.582 GB, free: 11.81 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.7008, allocations: 7.984 kB / 0.582 GB, free: 11.8 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.7019, allocations: 87.88 kB / 0.5821 GB, free: 11.72 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.7021, allocations: 43.94 kB / 0.5822 GB, free: 11.68 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/0.7022, allocations: 19.98 kB / 0.5822 GB, free: 11.66 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0006546/0.7029, allocations: 351.2 kB / 0.5825 GB, free: 11.32 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7029, allocations: 0 / 0.5825 GB, free: 11.32 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001117/0.704, allocations: 203.1 kB / 0.5827 GB, free: 11.12 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002257/0.7042, allocations: 104.7 kB / 0.5828 GB, free: 11.01 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0018/0.7061, allocations: 0.5977 MB / 0.5834 GB, free: 10.41 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.7061, allocations: 4 kB / 0.5834 GB, free: 10.41 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005817/0.7067, allocations: 203.8 kB / 0.5836 GB, free: 10.21 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.7083, allocations: 165.5 kB / 0.5837 GB, free: 10.06 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004576/0.7129, allocations: 1.13 MB / 0.5849 GB, free: 8.883 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007243/0.7137, allocations: 0.9415 MB / 0.5858 GB, free: 7.91 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/0.7142, allocations: 59.41 kB / 0.5858 GB, free: 7.852 MB / 427.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7142, allocations: 4 kB / 0.5858 GB, free: 7.848 MB / 427.1 MB Notification: Performance of Templates: time 0.02242/0.7366, allocations: 8.458 MB / 0.5941 GB, free: 15.41 MB / 443.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches