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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.0009916/0.0009916, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.306/1.306, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007913/0.0007913, allocations: 91.72 kB / 267.1 MB, free: 9.281 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.3598/0.3598, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.067e-05, allocations: 0 / 425.3 MB, free: 8.227 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1262, allocations: 58.84 MB / 484.1 MB, free: 13.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3889/0.5151, allocations: 87.47 MB / 0.5582 GB, free: 16.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.5154, allocations: 72.2 kB / 0.5583 GB, free: 16.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0124/0.5278, allocations: 4.585 MB / 0.5628 GB, free: 13.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5278, allocations: 0 / 0.5628 GB, free: 13.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.5278, allocations: 4 kB / 0.5628 GB, free: 13.91 MB / 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.0005006/0.5284, allocations: 438.3 kB / 0.5632 GB, free: 13.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.5284, allocations: 8.031 kB / 0.5632 GB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.5285, allocations: 26.69 kB / 0.5632 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.5287, allocations: 226.5 kB / 0.5634 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.5287, allocations: 4 kB / 0.5634 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.5288, allocations: 8.375 kB / 0.5634 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.529, allocations: 140.5 kB / 0.5636 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.529, allocations: 1.5 kB / 0.5636 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.529, allocations: 8.875 kB / 0.5636 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5291, allocations: 0 / 0.5636 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.5292, allocations: 59.23 kB / 0.5636 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007002/0.5299, allocations: 471.8 kB / 0.5641 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.5303, allocations: 157.9 kB / 0.5642 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/0.5304, allocations: 36.11 kB / 0.5643 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.5304, allocations: 0 / 0.5643 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.5304, allocations: 38.5 kB / 0.5643 GB, free: 12.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.5304, allocations: 0 / 0.5643 GB, free: 12.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001984/0.5306, allocations: 93.56 kB / 0.5644 GB, free: 12.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.5307, allocations: 104.2 kB / 0.5645 GB, free: 12.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.996e-05/0.5308, allocations: 150.2 kB / 0.5646 GB, free: 12.14 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.5308, allocations: 29.7 kB / 0.5647 GB, free: 12.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.5308, allocations: 109.8 kB / 0.5648 GB, free: 12.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.5309, allocations: 24.36 kB / 0.5648 GB, free: 12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.5309, allocations: 0 / 0.5648 GB, free: 12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.169e-05/0.5309, allocations: 326.5 kB / 0.5651 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/0.531, allocations: 25.17 kB / 0.5651 GB, free: 11.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-05/0.5311, allocations: 46.97 kB / 0.5652 GB, free: 11.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.685e-05/0.5311, allocations: 29.95 kB / 0.5652 GB, free: 11.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5311, allocations: 0 / 0.5652 GB, free: 11.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001285/0.5312, allocations: 92.86 kB / 0.5653 GB, free: 11.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.5313, allocations: 97.69 kB / 0.5654 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5313, allocations: 0 / 0.5654 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5313, allocations: 0 / 0.5654 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.5315, allocations: 44.53 kB / 0.5654 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5315, allocations: 1.125 kB / 0.5654 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.5316, allocations: 43.41 kB / 0.5655 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.5317, allocations: 0 / 0.5655 GB, free: 11.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.707e-06/0.5317, allocations: 8.781 kB / 0.5655 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.747e-05/0.5318, allocations: 51.44 kB / 0.5655 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.71e-07/0.5318, allocations: 0 / 0.5655 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-06/0.5318, allocations: 0 / 0.5655 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.258e-05/0.5319, allocations: 23.48 kB / 0.5656 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.5319, allocations: 7.891 kB / 0.5656 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.268e-05/0.5319, allocations: 15.23 kB / 0.5656 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.532, allocations: 8 kB / 0.5656 GB, free: 11.28 MB / 394.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 4.969e-05/0.532, allocations: 105.7 kB / 0.5657 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.5321, allocations: 19.28 kB / 0.5657 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.5321, allocations: 18.45 kB / 0.5657 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5321, allocations: 0 / 0.5657 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5321, allocations: 3.953 kB / 0.5657 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.5321, allocations: 0 / 0.5657 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.5323, allocations: 227.3 kB / 0.5659 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5323, allocations: 1.406 kB / 0.5659 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.5325, allocations: 44.91 kB / 0.566 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5325, allocations: 0 / 0.566 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.5325, allocations: 2.75 kB / 0.566 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5325, allocations: 0 / 0.566 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5325, allocations: 0 / 0.566 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.5327, allocations: 223.2 kB / 0.5662 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.5328, allocations: 92.89 kB / 0.5663 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.5328, allocations: 5.031 kB / 0.5663 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.5331, allocations: 55.95 kB / 0.5663 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.5331, allocations: 11.08 kB / 0.5664 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.5331, allocations: 8.938 kB / 0.5664 GB, free: 10.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.765e-05/0.5332, allocations: 119 kB / 0.5665 GB, free: 10.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5332, allocations: 0 / 0.5665 GB, free: 10.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002685/0.5335, allocations: 40.62 kB / 0.5665 GB, free: 10.4 MB / 394.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.0001077/0.5336, allocations: 101.7 kB / 0.5666 GB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.5338, allocations: 100.5 kB / 0.5667 GB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5338, allocations: 0 / 0.5667 GB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.052e-05/0.5338, allocations: 31.25 kB / 0.5667 GB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.5341, allocations: 24.14 kB / 0.5668 GB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.5344, allocations: 171.5 kB / 0.5669 GB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.5345, allocations: 0.7171 MB / 0.5676 GB, free: 9.309 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.5347, allocations: 22.81 kB / 0.5677 GB, free: 9.293 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.5347, allocations: 16.98 kB / 0.5677 GB, free: 9.277 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5347, allocations: 0 / 0.5677 GB, free: 9.277 MB / 394.7 MB Notification: Performance of Templates: time 0.003722/0.5384, allocations: 2.102 MB / 0.5697 GB, free: 7.281 MB / 394.7 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","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches