Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002657/0.002661, allocations: 366.1 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.949/3.949, allocations: 388.9 MB / 405.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003593/0.003593, allocations: 227.4 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5004/0.5004, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.000455, allocations: 8 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1008, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003539/0.1044, allocations: 2.699 MB / 0.6827 GB, free: 38.95 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.107, allocations: 1.159 MB / 0.6839 GB, free: 37.79 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003792/0.1074, allocations: 19.88 kB / 0.6839 GB, free: 37.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.811e-05/0.1075, allocations: 39.52 kB / 0.6839 GB, free: 37.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005809/0.1081, allocations: 127 kB / 0.684 GB, free: 37.61 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.1094, allocations: 403.8 kB / 0.6844 GB, free: 37.22 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009533/0.1104, allocations: 0.7064 MB / 0.6851 GB, free: 36.51 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008938/0.1113, allocations: 196.4 kB / 0.6853 GB, free: 36.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.1125, allocations: 242.8 kB / 0.6855 GB, free: 36.08 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004582/0.113, allocations: 254.5 kB / 0.6858 GB, free: 35.83 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.619e-05/0.1131, allocations: 20 kB / 0.6858 GB, free: 35.81 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.181e-05/0.1132, allocations: 20 kB / 0.6858 GB, free: 35.79 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.932e-05/0.1133, allocations: 95.52 kB / 0.6859 GB, free: 35.7 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.1134, allocations: 125.3 kB / 0.686 GB, free: 35.57 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005753/0.114, allocations: 0.4912 MB / 0.6865 GB, free: 35.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.114, allocations: 0 / 0.6865 GB, free: 35.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1141, allocations: 0 / 0.6865 GB, free: 35.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1141, allocations: 0 / 0.6865 GB, free: 35.07 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002895/0.117, allocations: 1.039 MB / 0.6875 GB, free: 33.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.117, allocations: 8.031 kB / 0.6875 GB, free: 33.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.1172, allocations: 75.06 kB / 0.6876 GB, free: 33.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008049/0.118, allocations: 474.6 kB / 0.688 GB, free: 33.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.675e-05/0.1181, allocations: 37 kB / 0.6881 GB, free: 33.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.1182, allocations: 44 kB / 0.6881 GB, free: 33.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.1202, allocations: 0.638 MB / 0.6887 GB, free: 32.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.1203, allocations: 7.984 kB / 0.6888 GB, free: 32.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.179e-05/0.1204, allocations: 20 kB / 0.6888 GB, free: 32.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.1204, allocations: 11.95 kB / 0.6888 GB, free: 32.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.1228, allocations: 0.5855 MB / 0.6894 GB, free: 32.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003958/0.1268, allocations: 1.535 MB / 0.6909 GB, free: 30.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003191/0.13, allocations: 0.8187 MB / 0.6917 GB, free: 29.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.1315, allocations: 373.4 kB / 0.692 GB, free: 29.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.421e-05/0.1316, allocations: 15.97 kB / 0.692 GB, free: 29.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.1316, allocations: 42.5 kB / 0.6921 GB, free: 29.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 3.617e-06/0.1316, allocations: 0 / 0.6921 GB, free: 29.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.007893/0.1395, allocations: 2.071 MB / 0.6941 GB, free: 27.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.1397, allocations: 187.9 kB / 0.6943 GB, free: 26.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.1408, allocations: 475 kB / 0.6947 GB, free: 26.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.141, allocations: 37.7 kB / 0.6948 GB, free: 26.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.1413, allocations: 300.5 kB / 0.695 GB, free: 26 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.1416, allocations: 161.5 kB / 0.6952 GB, free: 25.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.1417, allocations: 12 kB / 0.6952 GB, free: 25.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1419, allocations: 374.7 kB / 0.6956 GB, free: 25.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002458/0.1444, allocations: 328.9 kB / 0.6959 GB, free: 25.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002552/0.147, allocations: 403 kB / 0.6963 GB, free: 24.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.1492, allocations: 332.6 kB / 0.6966 GB, free: 24.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.1493, allocations: 0 / 0.6966 GB, free: 24.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.005169/0.1545, allocations: 0.8076 MB / 0.6974 GB, free: 23.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.807e-05/0.1546, allocations: 95.61 kB / 0.6975 GB, free: 23.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1546, allocations: 0 / 0.6975 GB, free: 23.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.1547, allocations: 8 kB / 0.6975 GB, free: 23.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/0.1571, allocations: 211.7 kB / 0.6977 GB, free: 23.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.1572, allocations: 0 / 0.6977 GB, free: 23.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.1587, allocations: 115.9 kB / 0.6978 GB, free: 23.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.643e-05/0.1588, allocations: 16 kB / 0.6978 GB, free: 23.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1589, allocations: 0 / 0.6978 GB, free: 23.14 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003321/0.1622, allocations: 0.5454 MB / 0.6983 GB, free: 22.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1623, allocations: 0 / 0.6983 GB, free: 22.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1623, allocations: 4.047 kB / 0.6983 GB, free: 22.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/0.1642, allocations: 175.7 kB / 0.6985 GB, free: 22.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.1643, allocations: 4 kB / 0.6985 GB, free: 22.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.1655, allocations: 63.95 kB / 0.6986 GB, free: 22.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.1656, allocations: 12 kB / 0.6986 GB, free: 22.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (56): * Single equations (assignments): 56 * 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.0005338/0.1661, allocations: 261.8 kB / 0.6988 GB, free: 22.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.1664, allocations: 63.2 kB / 0.6989 GB, free: 22.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.1667, allocations: 74 kB / 0.699 GB, free: 21.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.1667, allocations: 4 kB / 0.699 GB, free: 21.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1667, allocations: 0 / 0.699 GB, free: 21.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/0.1671, allocations: 180.2 kB / 0.6991 GB, free: 21.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.1673, allocations: 15.94 kB / 0.6992 GB, free: 21.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/0.169, allocations: 107.9 kB / 0.6993 GB, free: 21.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.1692, allocations: 35.94 kB / 0.6993 GB, free: 21.58 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008353/0.1776, allocations: 1.196 MB / 0.7005 GB, free: 20.38 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007918/0.1856, allocations: 1.448 MB / 0.7019 GB, free: 18.91 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002462/0.1881, allocations: 388 kB / 0.7022 GB, free: 18.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007444/0.1889, allocations: 326.9 kB / 0.7026 GB, free: 18.21 MB / 346.7 MB Notification: Performance of Backend: time 1.143e-06/0.1889, allocations: 0 / 0.7026 GB, free: 18.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005501/0.1944, allocations: 0.7958 MB / 0.7033 GB, free: 17.41 MB / 346.7 MB Notification: Performance of SimCode: time 0.004501/0.199, allocations: 1.707 MB / 0.705 GB, free: 15.65 MB / 346.7 MB Notification: Performance of Templates: time 0.03614/0.2352, allocations: 9.23 MB / 0.714 GB, free: 6.492 MB / 346.7 MB