Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009309/0.0009308, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 223.2 MB / 241 MB, free: 11.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008007/0.0008007, allocations: 102.2 kB / 292.2 MB, free: 10.88 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.302/0.302, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004429/0.000443, allocations: 12 kB / 459.9 MB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3586, allocations: 61.89 MB / 0.5096 GB, free: 38.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.4765, allocations: 88.59 MB / 0.5961 GB, free: 6.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.4768, allocations: 63.97 kB / 0.5961 GB, free: 6.457 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01266/0.4894, allocations: 4.611 MB / 0.6006 GB, free: 1.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4895, allocations: 0 / 0.6006 GB, free: 1.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.4895, allocations: 4 kB / 0.6006 GB, free: 1.84 MB / 410.7 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.0005828/0.4901, allocations: 470.6 kB / 0.6011 GB, free: 1.332 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4901, allocations: 8.031 kB / 0.6011 GB, free: 1.324 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.4902, allocations: 11.91 kB / 0.6011 GB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.4905, allocations: 219.3 kB / 0.6013 GB, free: 1.055 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.4905, allocations: 8 kB / 0.6013 GB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.4905, allocations: 7.953 kB / 0.6013 GB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.4909, allocations: 192.1 kB / 0.6015 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.491, allocations: 0 / 0.6015 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.491, allocations: 8 kB / 0.6015 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.491, allocations: 0 / 0.6015 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.4914, allocations: 155.9 kB / 0.6017 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007914/0.4922, allocations: 468.3 kB / 0.6021 GB, free: 172 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/0.493, allocations: 322.4 kB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.4931, allocations: 4.156 kB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.4931, allocations: 34.55 kB / 0.6025 GB, free: 15.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4931, allocations: 4 kB / 0.6025 GB, free: 15.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006823/0.4938, allocations: 277.5 kB / 0.6027 GB, free: 15.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.4939, allocations: 114.8 kB / 0.6028 GB, free: 15.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.494, allocations: 139.4 kB / 0.603 GB, free: 15.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.494, allocations: 29.7 kB / 0.603 GB, free: 15.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.4941, allocations: 112.2 kB / 0.6031 GB, free: 15.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.4941, allocations: 23.66 kB / 0.6031 GB, free: 15.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.4941, allocations: 0 / 0.6031 GB, free: 15.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4943, allocations: 318.8 kB / 0.6034 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.4945, allocations: 87.88 kB / 0.6035 GB, free: 14.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.4947, allocations: 110.5 kB / 0.6036 GB, free: 14.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.4949, allocations: 76.45 kB / 0.6037 GB, free: 14.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4949, allocations: 0 / 0.6037 GB, free: 14.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004465/0.4954, allocations: 217.5 kB / 0.6039 GB, free: 14.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.639e-05/0.4954, allocations: 89 kB / 0.604 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4955, allocations: 4 kB / 0.604 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4955, allocations: 3.953 kB / 0.604 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.4956, allocations: 47.89 kB / 0.604 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.4957, allocations: 4 kB / 0.604 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.4958, allocations: 39.88 kB / 0.6041 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.4958, allocations: 4 kB / 0.6041 GB, free: 14.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/0.4958, allocations: 5.25 kB / 0.6041 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001997/0.496, allocations: 79.95 kB / 0.6042 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-06/0.496, allocations: 4 kB / 0.6042 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-06/0.496, allocations: 4 kB / 0.6042 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.4961, allocations: 23.98 kB / 0.6042 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-06/0.4961, allocations: 0 / 0.6042 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.865e-05/0.4962, allocations: 19.86 kB / 0.6042 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.4962, allocations: 7.938 kB / 0.6042 GB, free: 13.91 MB / 426.7 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 (8): * Single equations (assignments): 8 * 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.0001269/0.4964, allocations: 201.5 kB / 0.6044 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.4964, allocations: 15.91 kB / 0.6044 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.469e-05/0.4965, allocations: 20.69 kB / 0.6044 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4965, allocations: 0 / 0.6044 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4965, allocations: 0 / 0.6044 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4965, allocations: 0 / 0.6044 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.4967, allocations: 233.4 kB / 0.6047 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4968, allocations: 0 / 0.6047 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.4969, allocations: 39.97 kB / 0.6047 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4969, allocations: 0 / 0.6047 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.4969, allocations: 4 kB / 0.6047 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.497, allocations: 3.984 kB / 0.6047 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.497, allocations: 0 / 0.6047 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007134/0.4977, allocations: 395.2 kB / 0.6051 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.4977, allocations: 85.05 kB / 0.6052 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.4978, allocations: 0 / 0.6052 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.498, allocations: 56.02 kB / 0.6052 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.4981, allocations: 7.984 kB / 0.6052 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.4981, allocations: 0 / 0.6052 GB, free: 12.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.259e-05/0.4982, allocations: 121 kB / 0.6053 GB, free: 12.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4982, allocations: 4 kB / 0.6054 GB, free: 12.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.4985, allocations: 39.84 kB / 0.6054 GB, free: 12.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * 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 (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001462/0.4987, allocations: 103.2 kB / 0.6055 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005612/0.4992, allocations: 223.8 kB / 0.6057 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.4993, allocations: 0 / 0.6057 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.4995, allocations: 87.94 kB / 0.6058 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.4998, allocations: 38.55 kB / 0.6058 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/0.5004, allocations: 315.9 kB / 0.6061 GB, free: 11.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.5007, allocations: 0.7087 MB / 0.6068 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.613e-05/0.5008, allocations: 20.53 kB / 0.6068 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.5009, allocations: 15.44 kB / 0.6068 GB, free: 11.06 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5009, allocations: 0 / 0.6068 GB, free: 11.06 MB / 426.7 MB Notification: Performance of Templates: time 0.003935/0.5048, allocations: 1.877 MB / 0.6087 GB, free: 9.215 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches