Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001057, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008705/0.0008705, allocations: 91 kB / 292.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1875/0.1875, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.659e-05/2.661e-05, allocations: 6.969 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1012, allocations: 63.24 MB / 0.5114 GB, free: 6.793 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3665/0.4677, allocations: 89.58 MB / 0.5988 GB, free: 4.324 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/0.4679, allocations: 59.72 kB / 0.5989 GB, free: 4.297 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01328/0.4812, allocations: 4.707 MB / 0.6035 GB, free: 296 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4812, allocations: 4 kB / 0.6035 GB, free: 292 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.4813, allocations: 4 kB / 0.6035 GB, free: 288 kB / 394.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.0005864/0.4819, allocations: 436.1 kB / 0.6039 GB, free: 15.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4819, allocations: 15.97 kB / 0.6039 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.4821, allocations: 27.3 kB / 0.604 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.4824, allocations: 214.8 kB / 0.6042 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.4824, allocations: 11.25 kB / 0.6042 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.4824, allocations: 7.75 kB / 0.6042 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.4827, allocations: 136.8 kB / 0.6043 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4827, allocations: 0 / 0.6043 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.4827, allocations: 3.938 kB / 0.6043 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4827, allocations: 4 kB / 0.6043 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.4829, allocations: 54.48 kB / 0.6044 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008386/0.4837, allocations: 475.8 kB / 0.6048 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.4842, allocations: 161.4 kB / 0.605 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.4843, allocations: 32.33 kB / 0.605 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.4843, allocations: 11.75 kB / 0.605 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.4843, allocations: 30.56 kB / 0.605 GB, free: 14.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.4843, allocations: 0 / 0.605 GB, free: 14.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002138/0.4846, allocations: 92.19 kB / 0.6051 GB, free: 14.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.4846, allocations: 106.8 kB / 0.6052 GB, free: 14.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.4848, allocations: 141.1 kB / 0.6054 GB, free: 14.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.4848, allocations: 33.39 kB / 0.6054 GB, free: 14.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.4848, allocations: 106.9 kB / 0.6055 GB, free: 14.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.4849, allocations: 27.64 kB / 0.6055 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.4849, allocations: 3.75 kB / 0.6055 GB, free: 14.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.485, allocations: 322.6 kB / 0.6058 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.4851, allocations: 21.94 kB / 0.6059 GB, free: 13.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-05/0.4851, allocations: 44.81 kB / 0.6059 GB, free: 13.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.075e-05/0.4852, allocations: 22.69 kB / 0.6059 GB, free: 13.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4852, allocations: 0 / 0.6059 GB, free: 13.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001533/0.4854, allocations: 107 kB / 0.606 GB, free: 13.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.071e-05/0.4854, allocations: 90.09 kB / 0.6061 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4854, allocations: 0 / 0.6061 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.4854, allocations: 3.984 kB / 0.6061 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.4856, allocations: 47.28 kB / 0.6062 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4856, allocations: 0 / 0.6062 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.4858, allocations: 31.97 kB / 0.6062 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.4858, allocations: 4 kB / 0.6062 GB, free: 13.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.4858, allocations: 4 kB / 0.6062 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.857e-05/0.4859, allocations: 45.66 kB / 0.6062 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-06/0.4859, allocations: 4 kB / 0.6062 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-06/0.4859, allocations: 0 / 0.6062 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/0.486, allocations: 27.92 kB / 0.6063 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.486, allocations: 3.953 kB / 0.6063 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.385e-05/0.4861, allocations: 27.33 kB / 0.6063 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.4861, allocations: 0 / 0.6063 GB, free: 13.42 MB / 410.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 () * 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 8.252e-05/0.4862, allocations: 112.4 kB / 0.6064 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.4863, allocations: 7.906 kB / 0.6064 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.4863, allocations: 11.62 kB / 0.6064 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4863, allocations: 0 / 0.6064 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4863, allocations: 7.938 kB / 0.6064 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4863, allocations: 4 kB / 0.6064 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.4866, allocations: 217.8 kB / 0.6066 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4866, allocations: 0 / 0.6066 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.4867, allocations: 47.95 kB / 0.6067 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4868, allocations: 0 / 0.6067 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.4868, allocations: 7.5 kB / 0.6067 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.4868, allocations: 4 kB / 0.6067 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4868, allocations: 3.938 kB / 0.6067 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.4871, allocations: 227.1 kB / 0.6069 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.4871, allocations: 89.11 kB / 0.607 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.4871, allocations: 3.25 kB / 0.607 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.4874, allocations: 51.95 kB / 0.6071 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.4875, allocations: 11.92 kB / 0.6071 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.4875, allocations: 3.625 kB / 0.6071 GB, free: 12.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.375e-05/0.4876, allocations: 113.1 kB / 0.6072 GB, free: 12.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4876, allocations: 4 kB / 0.6072 GB, free: 12.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.4879, allocations: 43.19 kB / 0.6072 GB, free: 12.46 MB / 410.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 () * 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.0001263/0.488, allocations: 104 kB / 0.6073 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.4882, allocations: 90.64 kB / 0.6074 GB, free: 12.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4882, allocations: 4 kB / 0.6074 GB, free: 12.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.899e-05/0.4883, allocations: 35.5 kB / 0.6075 GB, free: 12.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.4886, allocations: 31.09 kB / 0.6075 GB, free: 12.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.489, allocations: 159.1 kB / 0.6076 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.4892, allocations: 0.709 MB / 0.6083 GB, free: 11.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.4893, allocations: 20.97 kB / 0.6083 GB, free: 11.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.4894, allocations: 15.44 kB / 0.6084 GB, free: 11.31 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4894, allocations: 0 / 0.6084 GB, free: 11.31 MB / 410.7 MB Notification: Performance of Templates: time 0.004365/0.4937, allocations: 2.052 MB / 0.6104 GB, free: 9.289 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches