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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 183 kB / 16.63 MB, free: 5.137 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.385/1.385, allocations: 205.1 MB / 222.5 MB, free: 8.48 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.0009418/0.0009418, allocations: 101.4 kB / 269.9 MB, free: 8.441 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.3131/0.3131, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009366/0.0009367, allocations: 51.92 kB / 429.2 MB, free: 6.414 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09387/0.09482, allocations: 57.77 MB / 487 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004436/0.09929, allocations: 3.572 MB / 490.6 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.1016, allocations: 1.415 MB / 492 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004945/0.1021, allocations: 27.88 kB / 492 MB, free: 7.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.1025, allocations: 79.19 kB / 492.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006569/0.1032, allocations: 127 kB / 492.2 MB, free: 7.316 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.1044, allocations: 0.55 MB / 492.8 MB, free: 6.766 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.1055, allocations: 0.9014 MB / 493.7 MB, free: 5.859 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005249/0.106, allocations: 300.8 kB / 494 MB, free: 5.555 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005033/0.1066, allocations: 334.3 kB / 494.3 MB, free: 5.227 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.107, allocations: 338 kB / 494.6 MB, free: 4.895 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.1071, allocations: 36 kB / 494.7 MB, free: 4.859 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.844e-05/0.1072, allocations: 36 kB / 494.7 MB, free: 4.824 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1073, allocations: 139.3 kB / 494.8 MB, free: 4.688 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000286/0.1076, allocations: 341.7 kB / 495.2 MB, free: 4.352 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006174/0.1082, allocations: 0.7589 MB / 495.9 MB, free: 3.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1082, allocations: 0 / 495.9 MB, free: 3.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1083, allocations: 0 / 495.9 MB, free: 3.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.312e-05/0.1083, allocations: 0 / 495.9 MB, free: 3.59 MB / 378.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.00231/0.1106, allocations: 1.207 MB / 497.1 MB, free: 2.328 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1106, allocations: 8.031 kB / 497.1 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.1108, allocations: 95.81 kB / 497.2 MB, free: 2.227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007526/0.1116, allocations: 0.5815 MB / 497.8 MB, free: 1.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.1116, allocations: 41.38 kB / 497.8 MB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.852e-05/0.1117, allocations: 56.28 kB / 497.9 MB, free: 1.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.1131, allocations: 0.7075 MB / 498.6 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1131, allocations: 3.938 kB / 498.6 MB, free: 0.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.1132, allocations: 20 kB / 498.6 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.1132, allocations: 12 kB / 498.6 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.1146, allocations: 0.5542 MB / 499.2 MB, free: 168 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003031/0.1176, allocations: 2.298 MB / 0.4897 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.1193, allocations: 0.7253 MB / 0.4905 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007747/0.1201, allocations: 322.2 kB / 0.4908 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.637e-05/0.1201, allocations: 12.44 kB / 0.4908 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1202, allocations: 42.92 kB / 0.4908 GB, free: 12.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=48): time 2.334e-06/0.1202, allocations: 0 / 0.4908 GB, free: 12.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.004332/0.1245, allocations: 1.929 MB / 0.4927 GB, free: 10.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.1246, allocations: 192.4 kB / 0.4929 GB, free: 10.42 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006271/0.1252, allocations: 0.5787 MB / 0.4934 GB, free: 9.832 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.1253, allocations: 33.7 kB / 0.4935 GB, free: 9.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.1255, allocations: 364.8 kB / 0.4938 GB, free: 9.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.1257, allocations: 181.3 kB / 0.494 GB, free: 9.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.1258, allocations: 98.23 kB / 0.4941 GB, free: 9.148 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.126, allocations: 334 kB / 0.4944 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007735/0.1267, allocations: 298.9 kB / 0.4947 GB, free: 8.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008265/0.1276, allocations: 421.9 kB / 0.4951 GB, free: 8.066 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.1291, allocations: 0.6512 MB / 0.4957 GB, free: 7.383 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1291, allocations: 0 / 0.4957 GB, free: 7.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00188/0.131, allocations: 0.7946 MB / 0.4965 GB, free: 6.578 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.1311, allocations: 8 kB / 0.4965 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1311, allocations: 7.875 kB / 0.4965 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.1311, allocations: 16.19 kB / 0.4965 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000821/0.1319, allocations: 187.8 kB / 0.4967 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.132, allocations: 7.938 kB / 0.4967 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/0.1325, allocations: 79.86 kB / 0.4968 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.1325, allocations: 23.98 kB / 0.4968 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007135/0.1333, allocations: 365.1 kB / 0.4972 GB, free: 5.895 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006219/0.1339, allocations: 351.6 kB / 0.4975 GB, free: 5.504 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001123/0.135, allocations: 0.5358 MB / 0.498 GB, free: 4.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/0.135, allocations: 0 / 0.498 GB, free: 4.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001408/0.1365, allocations: 0.6667 MB / 0.4987 GB, free: 4.258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.1365, allocations: 4 kB / 0.4987 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1365, allocations: 4.375 kB / 0.4987 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.224e-06/0.1365, allocations: 4 kB / 0.4987 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.1372, allocations: 164 kB / 0.4988 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.887e-05/0.1372, allocations: 15.92 kB / 0.4989 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.1377, allocations: 51.95 kB / 0.4989 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.1377, allocations: 23.98 kB / 0.4989 GB, free: 3.996 MB / 394.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 (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.0001819/0.1379, allocations: 220.1 kB / 0.4991 GB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.138, allocations: 83.06 kB / 0.4992 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.1382, allocations: 79.53 kB / 0.4993 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1383, allocations: 11.94 kB / 0.4993 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1383, allocations: 0 / 0.4993 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1383, allocations: 3.984 kB / 0.4993 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.1409, allocations: 1.453 MB / 0.5007 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.892e-06/0.1409, allocations: 4 kB / 0.5007 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006766/0.1416, allocations: 147.8 kB / 0.5009 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.1416, allocations: 4 kB / 0.5009 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.384e-05/0.1416, allocations: 20.05 kB / 0.5009 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.1417, allocations: 4 kB / 0.5009 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1417, allocations: 7.875 kB / 0.5009 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1913/0.333, allocations: 5.379 MB / 0.5062 GB, free: 58.97 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.3333, allocations: 191.8 kB / 0.5064 GB, free: 58.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-05/0.3334, allocations: 9.891 kB / 0.5064 GB, free: 58.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006245/0.334, allocations: 75.12 kB / 0.5064 GB, free: 58.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.3342, allocations: 46.53 kB / 0.5065 GB, free: 58.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.3343, allocations: 13.41 kB / 0.5065 GB, free: 58.83 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005476/0.3348, allocations: 412.1 kB / 0.5069 GB, free: 58.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3348, allocations: 0 / 0.5069 GB, free: 58.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001008/0.3359, allocations: 260.7 kB / 0.5071 GB, free: 58.61 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,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 (50): * Single equations (assignments): 50 * 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 Backend phase and start with SimCode phase: time 0.000168/0.336, allocations: 114.8 kB / 0.5072 GB, free: 58.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002753/0.3388, allocations: 0.9856 MB / 0.5082 GB, free: 58.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3388, allocations: 0 / 0.5082 GB, free: 58.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008692/0.3397, allocations: 355.6 kB / 0.5085 GB, free: 58.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.3409, allocations: 186.8 kB / 0.5087 GB, free: 58.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.3446, allocations: 2.099 MB / 0.5108 GB, free: 57.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.345, allocations: 0.9375 MB / 0.5117 GB, free: 56.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005094/0.3455, allocations: 106.3 kB / 0.5118 GB, free: 56.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.3457, allocations: 60.95 kB / 0.5118 GB, free: 56.29 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3457, allocations: 0 / 0.5118 GB, free: 56.29 MB / 394.7 MB Notification: Performance of Templates: time 0.01451/0.3603, allocations: 9.283 MB / 0.5209 GB, free: 55.71 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches