Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.00124, allocations: 110.6 kB / 17.09 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 198.2 kB / 18.02 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.186/0.186, allocations: 43.53 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 75.88 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08938/0.09075, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004365/0.09515, allocations: 3.558 MB / 0.492 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.09768, allocations: 1.442 MB / 0.4934 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004085/0.09811, allocations: 27.81 kB / 0.4935 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.09839, allocations: 110.7 kB / 0.4936 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004716/0.09887, allocations: 162.5 kB / 0.4937 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.09992, allocations: 0.5928 MB / 0.4943 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009138/0.1008, allocations: 0.96 MB / 0.4952 GB, free: 4.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004288/0.1013, allocations: 300.3 kB / 0.4955 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.1017, allocations: 378.5 kB / 0.4959 GB, free: 4.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003563/0.1021, allocations: 366 kB / 0.4962 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.1022, allocations: 72 kB / 0.4963 GB, free: 3.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-05/0.1023, allocations: 72 kB / 0.4964 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.1025, allocations: 171.3 kB / 0.4965 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.1027, allocations: 373.7 kB / 0.4969 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00075/0.1035, allocations: 0.8444 MB / 0.4977 GB, free: 2.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1035, allocations: 0 / 0.4977 GB, free: 2.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1035, allocations: 0 / 0.4977 GB, free: 2.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.1035, allocations: 4 kB / 0.4977 GB, free: 2.352 MB / 382.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.002012/0.1056, allocations: 1.211 MB / 0.4989 GB, free: 1.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1056, allocations: 19.83 kB / 0.4989 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.1058, allocations: 91.81 kB / 0.499 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008274/0.1066, allocations: 0.6129 MB / 0.4996 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.1066, allocations: 41.38 kB / 0.4996 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.1067, allocations: 52.28 kB / 0.4997 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.1081, allocations: 0.7075 MB / 0.5004 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.1081, allocations: 0 / 0.5004 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.1082, allocations: 24 kB / 0.5004 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1082, allocations: 12 kB / 0.5004 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.1095, allocations: 0.5581 MB / 0.501 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002977/0.1125, allocations: 2.282 MB / 0.5032 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.1141, allocations: 0.7136 MB / 0.5039 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007776/0.1149, allocations: 330.2 kB / 0.5042 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.023e-05/0.1149, allocations: 12.44 kB / 0.5042 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.115, allocations: 50.86 kB / 0.5043 GB, free: 11.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 1.874e-06/0.115, allocations: 0 / 0.5043 GB, free: 11.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.004177/0.1192, allocations: 1.921 MB / 0.5061 GB, free: 9.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/0.1193, allocations: 188.3 kB / 0.5063 GB, free: 9.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005973/0.1199, allocations: 0.5826 MB / 0.5069 GB, free: 8.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.1199, allocations: 37.7 kB / 0.5069 GB, free: 8.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.1202, allocations: 364.7 kB / 0.5073 GB, free: 8.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.1203, allocations: 177.4 kB / 0.5074 GB, free: 7.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.1205, allocations: 110.2 kB / 0.5075 GB, free: 7.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1206, allocations: 322 kB / 0.5079 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007357/0.1214, allocations: 298.9 kB / 0.5081 GB, free: 7.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008019/0.1222, allocations: 422 kB / 0.5085 GB, free: 6.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.1236, allocations: 0.6434 MB / 0.5092 GB, free: 6.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1237, allocations: 0 / 0.5092 GB, free: 6.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001717/0.1254, allocations: 0.7985 MB / 0.51 GB, free: 5.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1254, allocations: 8 kB / 0.51 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1254, allocations: 4 kB / 0.51 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1254, allocations: 4 kB / 0.51 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008418/0.1263, allocations: 203.7 kB / 0.5102 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.1263, allocations: 4 kB / 0.5102 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005059/0.1268, allocations: 79.92 kB / 0.5102 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.1269, allocations: 19.98 kB / 0.5103 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006809/0.1276, allocations: 361.1 kB / 0.5106 GB, free: 4.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00061/0.1282, allocations: 359.6 kB / 0.5109 GB, free: 4.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001054/0.1292, allocations: 0.5359 MB / 0.5115 GB, free: 3.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.1292, allocations: 3.938 kB / 0.5115 GB, free: 3.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001288/0.1305, allocations: 0.6667 MB / 0.5121 GB, free: 3.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.1306, allocations: 8 kB / 0.5121 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.1306, allocations: 288 / 0.5121 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.1306, allocations: 16 kB / 0.5121 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006826/0.1313, allocations: 159.8 kB / 0.5123 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.1313, allocations: 11.92 kB / 0.5123 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/0.1317, allocations: 63.89 kB / 0.5124 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.1318, allocations: 19.98 kB / 0.5124 GB, free: 2.73 MB / 398.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.132, allocations: 208.1 kB / 0.5126 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.1321, allocations: 79.06 kB / 0.5127 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.1323, allocations: 83.53 kB / 0.5127 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1323, allocations: 7.922 kB / 0.5128 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1323, allocations: 0 / 0.5128 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.1325, allocations: 184.2 kB / 0.5129 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.989e-05/0.1326, allocations: 20.31 kB / 0.5129 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005392/0.1332, allocations: 75.91 kB / 0.513 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1333, allocations: 40.38 kB / 0.5131 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002657/0.136, allocations: 1.049 MB / 0.5141 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00253/0.1385, allocations: 1.34 MB / 0.5154 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007842/0.1393, allocations: 343.2 kB / 0.5157 GB, free: 15.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004229/0.1397, allocations: 407 kB / 0.5161 GB, free: 14.87 MB / 414.1 MB Notification: Performance of Backend: time 4.71e-07/0.1397, allocations: 0 / 0.5161 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002003/0.1417, allocations: 0.7883 MB / 0.5169 GB, free: 14.08 MB / 414.1 MB Notification: Performance of SimCode: time 0.002246/0.144, allocations: 1.728 MB / 0.5186 GB, free: 12.3 MB / 414.1 MB Notification: Performance of Templates: time 0.1923/0.3363, allocations: 12.4 MB / 0.5307 GB, free: 42.31 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches