Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.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.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 106.3 kB / 16.41 MB, free: 6.449 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.001341/0.001341, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.385/1.385, allocations: 205.1 MB / 223.2 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.2423/0.2423, allocations: 43.53 MB / 314.1 MB, free: 456 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.001311/0.001311, allocations: 61.47 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1271, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002829/0.1299, allocations: 1.69 MB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1311, allocations: 0.6515 MB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.832e-05/0.1312, allocations: 4 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.687e-05/0.1313, allocations: 11.81 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.1314, allocations: 15.8 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.1318, allocations: 147.7 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.132, allocations: 151.7 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1321, allocations: 41.09 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1322, allocations: 71.69 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1323, allocations: 67.73 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.1324, allocations: 12 kB / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.09e-05/0.1324, allocations: 12 kB / 0.4907 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.1324, allocations: 27.91 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.1325, allocations: 67.64 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1327, allocations: 139.5 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1327, allocations: 0 / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1327, allocations: 4 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1327, allocations: 0 / 0.4909 GB, free: 8.684 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006474/0.1334, allocations: 454.9 kB / 0.4913 GB, free: 8.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1334, allocations: 11.89 kB / 0.4913 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.1335, allocations: 16.75 kB / 0.4914 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.1338, allocations: 236 kB / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1338, allocations: 4.375 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.1338, allocations: 8.375 kB / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.1342, allocations: 184.3 kB / 0.4918 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1343, allocations: 4 kB / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.1343, allocations: 4 kB / 0.4918 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1343, allocations: 0 / 0.4918 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.1347, allocations: 126.6 kB / 0.4919 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008047/0.1355, allocations: 456.3 kB / 0.4923 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.136, allocations: 194.5 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.1362, allocations: 76.8 kB / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1362, allocations: 4.141 kB / 0.4926 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1362, allocations: 38.56 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1363, allocations: 0 / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001364/0.1376, allocations: 0.568 MB / 0.4932 GB, free: 6.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.1377, allocations: 110.8 kB / 0.4933 GB, free: 5.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.1379, allocations: 168.4 kB / 0.4935 GB, free: 5.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1379, allocations: 25.7 kB / 0.4935 GB, free: 5.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.138, allocations: 112 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.138, allocations: 27.56 kB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.539e-05/0.1381, allocations: 29.7 kB / 0.4936 GB, free: 5.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1382, allocations: 326.8 kB / 0.494 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.1384, allocations: 68.8 kB / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.1386, allocations: 102.4 kB / 0.4941 GB, free: 5.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.139, allocations: 132.8 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.139, allocations: 0 / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004242/0.1395, allocations: 193.4 kB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1395, allocations: 4 kB / 0.4944 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1395, allocations: 0 / 0.4944 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1395, allocations: 0 / 0.4944 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.1397, allocations: 40.28 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.1397, allocations: 4 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.1398, allocations: 27.91 kB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.1399, allocations: 7.984 kB / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000149/0.14, allocations: 124 kB / 0.4946 GB, free: 4.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001006/0.1401, allocations: 62.48 kB / 0.4947 GB, free: 4.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001557/0.1403, allocations: 76.81 kB / 0.4948 GB, free: 4.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.52e-07/0.1403, allocations: 0 / 0.4948 GB, free: 4.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002225/0.1405, allocations: 117.4 kB / 0.4949 GB, free: 4.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.1405, allocations: 8 kB / 0.4949 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-06/0.1405, allocations: 32 / 0.4949 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-06/0.1405, allocations: 4 kB / 0.4949 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1407, allocations: 23.97 kB / 0.4949 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.1407, allocations: 3.938 kB / 0.4949 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.252e-05/0.1408, allocations: 19.98 kB / 0.4949 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.1408, allocations: 7.938 kB / 0.4949 GB, free: 4.223 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * 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.000126/0.1409, allocations: 184.3 kB / 0.4951 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.141, allocations: 7.906 kB / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.141, allocations: 17.41 kB / 0.4951 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.141, allocations: 7.938 kB / 0.4951 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.141, allocations: 0 / 0.4951 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.141, allocations: 3.984 kB / 0.4951 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008066/0.1419, allocations: 0.5108 MB / 0.4956 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1419, allocations: 7.922 kB / 0.4957 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.142, allocations: 32.25 kB / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.142, allocations: 0 / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1421, allocations: 4 kB / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1421, allocations: 3.938 kB / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1421, allocations: 3.938 kB / 0.4957 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006573/0.1427, allocations: 360.1 kB / 0.496 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.1428, allocations: 92.89 kB / 0.4961 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.1428, allocations: 4 kB / 0.4961 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.1431, allocations: 35.95 kB / 0.4962 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.1431, allocations: 16.05 kB / 0.4962 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.1431, allocations: 4 kB / 0.4962 GB, free: 2.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.61e-05/0.1432, allocations: 123.5 kB / 0.4963 GB, free: 2.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.312e-06/0.1432, allocations: 0 / 0.4963 GB, free: 2.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.1435, allocations: 35.94 kB / 0.4963 GB, free: 2.676 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.0001047/0.1436, allocations: 107.2 kB / 0.4964 GB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005485/0.1442, allocations: 195.8 kB / 0.4966 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1442, allocations: 0 / 0.4966 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.1444, allocations: 79.94 kB / 0.4967 GB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.1448, allocations: 43.98 kB / 0.4967 GB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/0.1455, allocations: 289 kB / 0.497 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1458, allocations: 0.709 MB / 0.4977 GB, free: 1.207 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.223e-05/0.1459, allocations: 24.84 kB / 0.4977 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.1459, allocations: 19.42 kB / 0.4978 GB, free: 1.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1459, allocations: 4 kB / 0.4978 GB, free: 1.156 MB / 382.1 MB Notification: Performance of Templates: time 0.004931/0.1509, allocations: 2.272 MB / 0.5 GB, free: 14.89 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches