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.001082/0.001082, allocations: 177.3 kB / 17.41 MB, free: 4.418 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.256/1.256, 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.0006776/0.0006777, allocations: 78.42 kB / 271.9 MB, free: 8.266 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.3005/0.3005, allocations: 43.56 MB / 363.8 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003809, allocations: 16 kB / 432.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1058, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2725/0.3783, allocations: 90.9 MB / 0.5687 GB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.3785, allocations: 67.97 kB / 0.5688 GB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0422/0.4207, allocations: 15.86 MB / 0.5842 GB, free: 11.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4208, allocations: 0 / 0.5842 GB, free: 11.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.432e-05/0.4209, allocations: 27.88 kB / 0.5843 GB, free: 11.46 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002075/0.4229, allocations: 1.154 MB / 0.5854 GB, free: 10.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.423, allocations: 8.031 kB / 0.5854 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.4231, allocations: 99.81 kB / 0.5855 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.4242, allocations: 0.6567 MB / 0.5861 GB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/0.4243, allocations: 41.38 kB / 0.5862 GB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/0.4244, allocations: 52.38 kB / 0.5862 GB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.4257, allocations: 0.7311 MB / 0.5869 GB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.4258, allocations: 3.938 kB / 0.5869 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-05/0.4258, allocations: 24 kB / 0.587 GB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.4258, allocations: 15.09 kB / 0.587 GB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.4272, allocations: 0.605 MB / 0.5876 GB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.4301, allocations: 2.286 MB / 0.5898 GB, free: 5.562 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.4325, allocations: 1.041 MB / 0.5908 GB, free: 4.484 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000776/0.4333, allocations: 357.5 kB / 0.5912 GB, free: 4.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.367e-05/0.4334, allocations: 12.06 kB / 0.5912 GB, free: 4.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.4334, allocations: 38.56 kB / 0.5912 GB, free: 4.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 3.597e-06/0.4334, allocations: 3.938 kB / 0.5912 GB, free: 4.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.002511/0.436, allocations: 1.035 MB / 0.5922 GB, free: 3.023 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/0.4361, allocations: 140.4 kB / 0.5924 GB, free: 2.855 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000654/0.4367, allocations: 0.5825 MB / 0.5929 GB, free: 2.266 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.4368, allocations: 41.7 kB / 0.593 GB, free: 2.219 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.437, allocations: 356.8 kB / 0.5933 GB, free: 1.863 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.4372, allocations: 161.6 kB / 0.5935 GB, free: 1.703 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.4372, allocations: 12 kB / 0.5935 GB, free: 1.691 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4373, allocations: 326 kB / 0.5938 GB, free: 1.367 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007839/0.4381, allocations: 316.9 kB / 0.5941 GB, free: 1.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008104/0.439, allocations: 416.1 kB / 0.5945 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.4405, allocations: 0.6914 MB / 0.5952 GB, free: 15.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4405, allocations: 0 / 0.5952 GB, free: 15.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001793/0.4423, allocations: 0.8347 MB / 0.596 GB, free: 15.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-05/0.4424, allocations: 162.7 kB / 0.5961 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4425, allocations: 0 / 0.5961 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4425, allocations: 4 kB / 0.5961 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008922/0.4434, allocations: 203.7 kB / 0.5963 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.4434, allocations: 12.77 kB / 0.5963 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.4439, allocations: 119.5 kB / 0.5965 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.444, allocations: 20 kB / 0.5965 GB, free: 14.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.712e-06/0.444, allocations: 4 kB / 0.5965 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001235/0.4452, allocations: 0.5957 MB / 0.5971 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4453, allocations: 4 kB / 0.5971 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/0.4453, allocations: 4 kB / 0.5971 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/0.446, allocations: 176 kB / 0.5972 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.446, allocations: 8.594 kB / 0.5972 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.4464, allocations: 91.53 kB / 0.5973 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.4465, allocations: 20 kB / 0.5974 GB, free: 13.61 MB / 426.7 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 () * Number of clocked 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.0003144/0.4468, allocations: 272.9 kB / 0.5976 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.4469, allocations: 71.16 kB / 0.5977 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.4471, allocations: 87.14 kB / 0.5978 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4471, allocations: 7.938 kB / 0.5978 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4471, allocations: 1.219 kB / 0.5978 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4471, allocations: 0 / 0.5978 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.4495, allocations: 1.412 MB / 0.5992 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.4496, allocations: 3.984 kB / 0.5992 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.4502, allocations: 155.8 kB / 0.5993 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.4502, allocations: 8 kB / 0.5993 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.4503, allocations: 15.98 kB / 0.5993 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4503, allocations: 4 kB / 0.5993 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4503, allocations: 3.984 kB / 0.5993 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/0.4528, allocations: 1.295 MB / 0.6006 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.453, allocations: 200 kB / 0.6008 GB, free: 9.988 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.4531, allocations: 11.98 kB / 0.6008 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005043/0.4536, allocations: 95.92 kB / 0.6009 GB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.89e-05/0.4537, allocations: 43.88 kB / 0.6009 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.4538, allocations: 15.98 kB / 0.6009 GB, free: 9.824 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004483/0.4542, allocations: 407 kB / 0.6013 GB, free: 9.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4542, allocations: 0 / 0.6013 GB, free: 9.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006537/0.4549, allocations: 223.2 kB / 0.6016 GB, free: 9.211 MB / 426.7 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 () * Number of clocked 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.0001575/0.4551, allocations: 131.1 kB / 0.6017 GB, free: 9.074 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002299/0.4574, allocations: 1.033 MB / 0.6027 GB, free: 8.039 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4574, allocations: 0 / 0.6027 GB, free: 8.039 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008031/0.4582, allocations: 371.6 kB / 0.603 GB, free: 7.676 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009667/0.4592, allocations: 183.3 kB / 0.6032 GB, free: 7.504 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.4624, allocations: 1.789 MB / 0.605 GB, free: 5.684 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.4628, allocations: 0.9184 MB / 0.6059 GB, free: 4.734 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.4631, allocations: 63.41 kB / 0.6059 GB, free: 4.676 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4631, allocations: 0 / 0.6059 GB, free: 4.676 MB / 426.7 MB Notification: Performance of Templates: time 0.0116/0.4747, allocations: 8.711 MB / 0.6144 GB, free: 12.01 MB / 442.7 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