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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001607, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002114/0.002114, allocations: 211.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.664/1.664, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3202/0.3202, allocations: 46.94 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002628/0.002628, allocations: 75.88 kB / 0.4966 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.5527, allocations: 66.08 MB / 0.5612 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003557/0.5562, allocations: 1.644 MB / 0.5628 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.5577, allocations: 0.6283 MB / 0.5634 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.961e-05/0.5578, allocations: 4 kB / 0.5634 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.325e-05/0.5578, allocations: 15.8 kB / 0.5634 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.039e-05/0.5579, allocations: 19.81 kB / 0.5634 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.5584, allocations: 147.1 kB / 0.5636 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.5586, allocations: 167.5 kB / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.5587, allocations: 27.75 kB / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.5589, allocations: 75.77 kB / 0.5638 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.559, allocations: 63.67 kB / 0.5639 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.559, allocations: 12 kB / 0.5639 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-05/0.559, allocations: 16 kB / 0.5639 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.5591, allocations: 31.91 kB / 0.5639 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.5591, allocations: 55.77 kB / 0.564 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.5593, allocations: 147.1 kB / 0.5641 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.5593, allocations: 0 / 0.5641 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5593, allocations: 0 / 0.5641 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.5593, allocations: 0 / 0.5641 GB, free: 0.8945 MB / 398.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.0006149/0.5599, allocations: 381.7 kB / 0.5645 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.56, allocations: 8.031 kB / 0.5645 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.5601, allocations: 24.84 kB / 0.5645 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.5604, allocations: 166.3 kB / 0.5647 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.5604, allocations: 4.375 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.5604, allocations: 8.375 kB / 0.5647 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/0.5609, allocations: 334.7 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.5609, allocations: 0 / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.5609, allocations: 4 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.5609, allocations: 4 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.5613, allocations: 123.8 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007649/0.5621, allocations: 372 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.5627, allocations: 194.4 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.5629, allocations: 68.8 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.5629, allocations: 0 / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.5629, allocations: 38.56 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 7.71e-07/0.5629, allocations: 0 / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001389/0.5643, allocations: 0.4969 MB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/0.5644, allocations: 102.8 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.5645, allocations: 147 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.5646, allocations: 29.7 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.877e-05/0.5646, allocations: 112 kB / 0.5666 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.5647, allocations: 35.69 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.5647, allocations: 29.7 kB / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.5649, allocations: 322.8 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.5651, allocations: 72.8 kB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.5654, allocations: 149.8 kB / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.5658, allocations: 140.8 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.5658, allocations: 0 / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004753/0.5663, allocations: 189.5 kB / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.5663, allocations: 6.031 kB / 0.5676 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.5663, allocations: 4.359 kB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.5663, allocations: 0 / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.5665, allocations: 35.97 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.5665, allocations: 3.938 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.5666, allocations: 31.91 kB / 0.5676 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-06/0.5666, allocations: 0 / 0.5676 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001475/0.5668, allocations: 120.1 kB / 0.5677 GB, free: 12.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001444/0.5669, allocations: 113.9 kB / 0.5678 GB, free: 12.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001842/0.5671, allocations: 72.81 kB / 0.5679 GB, free: 12.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.12e-07/0.5671, allocations: 3.938 kB / 0.5679 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002426/0.5673, allocations: 125.5 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.602e-06/0.5673, allocations: 4 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-06/0.5673, allocations: 0 / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-06/0.5673, allocations: 0 / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.5674, allocations: 23.98 kB / 0.5681 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.5674, allocations: 7.984 kB / 0.5681 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-05/0.5675, allocations: 15.92 kB / 0.5681 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.5675, allocations: 4 kB / 0.5681 GB, free: 12.52 MB / 414.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.0001261/0.5677, allocations: 188.2 kB / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.5677, allocations: 11.95 kB / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.5677, allocations: 8.719 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.5677, allocations: 4 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5677, allocations: 3.938 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.5677, allocations: 0 / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009731/0.5687, allocations: 443.7 kB / 0.5687 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5687, allocations: 0 / 0.5687 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.5689, allocations: 35.95 kB / 0.5688 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.5689, allocations: 7.938 kB / 0.5688 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.5689, allocations: 3.938 kB / 0.5688 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5689, allocations: 4.031 kB / 0.5688 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5689, allocations: 0 / 0.5688 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007732/0.5697, allocations: 360.1 kB / 0.5691 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.5697, allocations: 15.92 kB / 0.5691 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.5697, allocations: 7.938 kB / 0.5691 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.57, allocations: 39.95 kB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.57, allocations: 11.97 kB / 0.5692 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.57, allocations: 4.062 kB / 0.5692 GB, free: 11.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.381e-05/0.5701, allocations: 119.3 kB / 0.5693 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5701, allocations: 0 / 0.5693 GB, free: 11.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.5704, allocations: 36 kB / 0.5693 GB, free: 11.17 MB / 414.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.0001021/0.5705, allocations: 91.25 kB / 0.5694 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006694/0.5712, allocations: 191.8 kB / 0.5696 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5712, allocations: 3.938 kB / 0.5696 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.5714, allocations: 79.94 kB / 0.5697 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.5718, allocations: 31.36 kB / 0.5697 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007225/0.5725, allocations: 304.7 kB / 0.57 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.113e-05/0.5726, allocations: 89.62 kB / 0.5701 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.183e-05/0.5727, allocations: 20.81 kB / 0.5701 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.5727, allocations: 15.44 kB / 0.5701 GB, free: 10.31 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5727, allocations: 0 / 0.5701 GB, free: 10.31 MB / 414.1 MB Notification: Performance of Templates: time 0.006224/0.5789, allocations: 2.501 MB / 0.5726 GB, free: 7.844 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.772450091317296]