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.001279/0.001279, allocations: 109.1 kB / 16.41 MB, free: 6.453 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.00152/0.00152, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.684/1.684, 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.2253/0.2253, allocations: 43.52 MB / 314.1 MB, free: 476 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.001417/0.001417, allocations: 59.91 kB / 441.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1293, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002988/0.1323, allocations: 1.675 MB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1334, allocations: 0.6515 MB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.238e-05/0.1335, allocations: 3.938 kB / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.618e-05/0.1335, allocations: 7.875 kB / 0.4902 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.676e-05/0.1337, allocations: 23.8 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.1341, allocations: 143.6 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.1343, allocations: 155.7 kB / 0.4905 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1345, allocations: 41.06 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.1346, allocations: 75.69 kB / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1347, allocations: 63.73 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.1348, allocations: 12 kB / 0.4907 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.727e-05/0.1348, allocations: 16 kB / 0.4907 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.1348, allocations: 31.91 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.1349, allocations: 63.64 kB / 0.4908 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.1351, allocations: 143.4 kB / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1351, allocations: 0 / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1351, allocations: 0 / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1352, allocations: 0 / 0.4909 GB, free: 8.711 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.0006508/0.1358, allocations: 462.8 kB / 0.4913 GB, free: 8.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1359, allocations: 15.88 kB / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.1359, allocations: 16.84 kB / 0.4914 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.1362, allocations: 228.1 kB / 0.4916 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1362, allocations: 4.375 kB / 0.4916 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.1363, allocations: 8.375 kB / 0.4916 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.1367, allocations: 187 kB / 0.4918 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1367, allocations: 3.984 kB / 0.4918 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.1367, allocations: 3.938 kB / 0.4918 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1367, allocations: 4 kB / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003805/0.1371, allocations: 123.9 kB / 0.4919 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007819/0.1379, allocations: 452.4 kB / 0.4923 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.1385, allocations: 194.4 kB / 0.4925 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.1387, allocations: 76.78 kB / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.1388, allocations: 4 kB / 0.4926 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1388, allocations: 42.5 kB / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.1388, allocations: 0 / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001476/0.1403, allocations: 0.5722 MB / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.1404, allocations: 106.8 kB / 0.4933 GB, free: 6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.1405, allocations: 168.4 kB / 0.4935 GB, free: 5.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1405, allocations: 29.7 kB / 0.4935 GB, free: 5.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.1406, allocations: 108.1 kB / 0.4936 GB, free: 5.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.1406, allocations: 35.73 kB / 0.4936 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.1407, allocations: 29.7 kB / 0.4937 GB, free: 5.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1408, allocations: 322.8 kB / 0.494 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.141, allocations: 76.73 kB / 0.494 GB, free: 5.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.1413, allocations: 94.5 kB / 0.4941 GB, free: 5.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.1417, allocations: 136.8 kB / 0.4943 GB, free: 4.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1417, allocations: 0 / 0.4943 GB, free: 4.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005066/0.1422, allocations: 197.6 kB / 0.4944 GB, free: 4.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1422, allocations: 4 kB / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1422, allocations: 0 / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1423, allocations: 8 kB / 0.4945 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.1425, allocations: 35.91 kB / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1425, allocations: 3.938 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.1426, allocations: 27.91 kB / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1426, allocations: 0 / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001519/0.1428, allocations: 124.1 kB / 0.4946 GB, free: 4.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001415/0.143, allocations: 62.55 kB / 0.4947 GB, free: 4.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001774/0.1431, allocations: 68.81 kB / 0.4948 GB, free: 4.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.1432, allocations: 0 / 0.4948 GB, free: 4.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002417/0.1434, allocations: 121.5 kB / 0.4949 GB, free: 4.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/0.1434, allocations: 8.031 kB / 0.4949 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-06/0.1434, allocations: 0 / 0.4949 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-06/0.1434, allocations: 0 / 0.4949 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.1435, allocations: 27.92 kB / 0.4949 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1435, allocations: 7.922 kB / 0.4949 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.203e-05/0.1436, allocations: 12.36 kB / 0.4949 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1437, allocations: 4 kB / 0.4949 GB, free: 4.246 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.0001282/0.1438, allocations: 188.3 kB / 0.4951 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.1438, allocations: 15.91 kB / 0.4951 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.066e-05/0.1439, allocations: 21.34 kB / 0.4952 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1439, allocations: 3.938 kB / 0.4952 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1439, allocations: 0 / 0.4952 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1439, allocations: 3.984 kB / 0.4952 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009278/0.1449, allocations: 0.5031 MB / 0.4957 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1449, allocations: 3.938 kB / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.1451, allocations: 39.95 kB / 0.4957 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1451, allocations: 3.938 kB / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1451, allocations: 0 / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1451, allocations: 4.031 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1451, allocations: 4 kB / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007829/0.1459, allocations: 360.1 kB / 0.496 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.146, allocations: 92.98 kB / 0.4961 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.146, allocations: 4 kB / 0.4961 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.1463, allocations: 44.02 kB / 0.4962 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.1464, allocations: 3.984 kB / 0.4962 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1464, allocations: 4 kB / 0.4962 GB, free: 2.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.67e-05/0.1465, allocations: 127.5 kB / 0.4963 GB, free: 2.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.813e-06/0.1465, allocations: 0 / 0.4963 GB, free: 2.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.1468, allocations: 39.94 kB / 0.4963 GB, free: 2.688 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.0001216/0.1469, allocations: 95.23 kB / 0.4964 GB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006131/0.1475, allocations: 199.7 kB / 0.4966 GB, free: 2.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1476, allocations: 0 / 0.4966 GB, free: 2.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.1478, allocations: 80 kB / 0.4967 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1482, allocations: 52.19 kB / 0.4968 GB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.1489, allocations: 304.7 kB / 0.497 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.1492, allocations: 0.7046 MB / 0.4977 GB, free: 1.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.1493, allocations: 24.84 kB / 0.4978 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.1494, allocations: 19.42 kB / 0.4978 GB, free: 1.164 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1494, allocations: 4 kB / 0.4978 GB, free: 1.16 MB / 382.1 MB Notification: Performance of Templates: time 0.005614/0.155, allocations: 2.265 MB / 0.5 GB, free: 14.9 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