Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.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.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008562/0.0008562, allocations: 176.9 kB / 17.41 MB, free: 4.379 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.502/1.502, allocations: 205.4 MB / 223.6 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.0008042/0.0008043, allocations: 93.36 kB / 271.9 MB, free: 8.258 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.3593/0.3593, allocations: 43.56 MB / 363.8 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003919, allocations: 12 kB / 432.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1234, allocations: 58.86 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3406/0.464, allocations: 89.19 MB / 0.567 GB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.4642, allocations: 67.97 kB / 0.5671 GB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03893/0.5032, allocations: 15.64 MB / 0.5824 GB, free: 13.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5032, allocations: 0 / 0.5824 GB, free: 13.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001049/0.5033, allocations: 23.98 kB / 0.5824 GB, free: 13.38 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002313/0.5057, allocations: 1.187 MB / 0.5835 GB, free: 12.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5057, allocations: 8.031 kB / 0.5836 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.5059, allocations: 115.5 kB / 0.5837 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009994/0.5069, allocations: 0.6877 MB / 0.5843 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.507, allocations: 49.67 kB / 0.5844 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.697e-05/0.5071, allocations: 64.38 kB / 0.5844 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.5083, allocations: 0.7613 MB / 0.5852 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.5084, allocations: 4.188 kB / 0.5852 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-05/0.5084, allocations: 32.5 kB / 0.5852 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.5085, allocations: 16 kB / 0.5852 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.5096, allocations: 0.5891 MB / 0.5858 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003423/0.513, allocations: 2.781 MB / 0.5885 GB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.5144, allocations: 0.7259 MB / 0.5892 GB, free: 6.082 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005409/0.5149, allocations: 307.2 kB / 0.5895 GB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.592e-05/0.515, allocations: 11.94 kB / 0.5895 GB, free: 5.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.5151, allocations: 46.48 kB / 0.5896 GB, free: 5.703 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 2.544e-06/0.5151, allocations: 0 / 0.5896 GB, free: 5.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.001784/0.5169, allocations: 0.8707 MB / 0.5904 GB, free: 4.828 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.517, allocations: 235.3 kB / 0.5907 GB, free: 4.543 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007981/0.5178, allocations: 0.7204 MB / 0.5914 GB, free: 3.812 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.704e-05/0.5179, allocations: 29.7 kB / 0.5914 GB, free: 3.777 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.5182, allocations: 436.5 kB / 0.5918 GB, free: 3.348 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.5184, allocations: 189.3 kB / 0.592 GB, free: 3.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.5184, allocations: 12 kB / 0.592 GB, free: 3.148 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5185, allocations: 326 kB / 0.5923 GB, free: 2.824 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.519, allocations: 241 kB / 0.5925 GB, free: 2.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.5196, allocations: 391.9 kB / 0.5929 GB, free: 2.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.5207, allocations: 0.6019 MB / 0.5935 GB, free: 1.523 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.5207, allocations: 0 / 0.5935 GB, free: 1.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00256/0.5233, allocations: 1.154 MB / 0.5946 GB, free: 360 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.5234, allocations: 177.7 kB / 0.5948 GB, free: 140 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5234, allocations: 3.984 kB / 0.5948 GB, free: 136 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.5246, allocations: 371.1 kB / 0.5952 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000527/0.5252, allocations: 123.9 kB / 0.5953 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008231/0.5334, allocations: 7.072 MB / 0.6022 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005976/0.534, allocations: 95.42 kB / 0.6023 GB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.5341, allocations: 24.06 kB / 0.6023 GB, free: 7.914 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.5341, allocations: 4 kB / 0.6023 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001398/0.5355, allocations: 0.6635 MB / 0.6029 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5355, allocations: 4 kB / 0.6029 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004818/0.536, allocations: 149.9 kB / 0.6031 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/0.5367, allocations: 175.8 kB / 0.6033 GB, free: 6.914 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/0.54, allocations: 3.268 MB / 0.6065 GB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.5405, allocations: 71.58 kB / 0.6065 GB, free: 3.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.5406, allocations: 16 kB / 0.6065 GB, free: 3.289 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004714/0.541, allocations: 289.8 kB / 0.6068 GB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.5412, allocations: 94.78 kB / 0.6069 GB, free: 2.902 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.5414, allocations: 99.39 kB / 0.607 GB, free: 2.805 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.5414, allocations: 15.88 kB / 0.607 GB, free: 2.789 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5414, allocations: 3.938 kB / 0.607 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5414, allocations: 7.922 kB / 0.607 GB, free: 2.777 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.5425, allocations: 0.7506 MB / 0.6078 GB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.5425, allocations: 0 / 0.6078 GB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005528/0.543, allocations: 115.9 kB / 0.6079 GB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.543, allocations: 4 kB / 0.6079 GB, free: 1.859 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.5431, allocations: 16 kB / 0.6079 GB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.5431, allocations: 11.92 kB / 0.6079 GB, free: 1.832 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5431, allocations: 0 / 0.6079 GB, free: 1.832 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.545, allocations: 1.276 MB / 0.6091 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.5452, allocations: 211.8 kB / 0.6093 GB, free: 316 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.5453, allocations: 19.92 kB / 0.6094 GB, free: 296 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/0.5458, allocations: 55.97 kB / 0.6094 GB, free: 240 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.5459, allocations: 31.95 kB / 0.6094 GB, free: 208 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.5459, allocations: 12 kB / 0.6095 GB, free: 196 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005765/0.5465, allocations: 495 kB / 0.6099 GB, free: 15.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5465, allocations: 0 / 0.6099 GB, free: 15.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009233/0.5474, allocations: 291 kB / 0.6102 GB, free: 15.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.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 (52): * Single equations (assignments): 52 * 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.0001714/0.5476, allocations: 123.1 kB / 0.6103 GB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003876/0.5515, allocations: 2.017 MB / 0.6123 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5515, allocations: 0 / 0.6123 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005674/0.5521, allocations: 297.2 kB / 0.6126 GB, free: 12.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.5534, allocations: 225.4 kB / 0.6128 GB, free: 12.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.556, allocations: 1.826 MB / 0.6146 GB, free: 10.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.5566, allocations: 0.9887 MB / 0.6155 GB, free: 9.824 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.5568, allocations: 47.44 kB / 0.6156 GB, free: 9.777 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5568, allocations: 0 / 0.6156 GB, free: 9.777 MB / 442.7 MB Notification: Performance of Templates: time 0.02039/0.5772, allocations: 17.29 MB / 0.6325 GB, free: 8.512 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimPID/LimPID.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches