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.001352/0.001352, allocations: 109.1 kB / 21.18 MB, free: 0.7773 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.001529/0.001529, allocations: 209.5 kB / 24.49 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.452/1.452, allocations: 230.5 MB / 258.1 MB, free: 8.031 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.2451/0.2451, allocations: 46.93 MB / 361.5 MB, free: 4.188 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.002204/0.002204, allocations: 92.12 kB / 0.4974 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3834, allocations: 66.07 MB / 0.5619 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003226/0.3866, allocations: 1.712 MB / 0.5636 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.3879, allocations: 0.6673 MB / 0.5643 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.388, allocations: 11.94 kB / 0.5643 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.388, allocations: 7.875 kB / 0.5643 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.3881, allocations: 27.73 kB / 0.5643 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004931/0.3886, allocations: 147 kB / 0.5644 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.3889, allocations: 155.7 kB / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.389, allocations: 27.75 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.3892, allocations: 83.75 kB / 0.5647 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.3893, allocations: 67.69 kB / 0.5648 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.3894, allocations: 12 kB / 0.5648 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.574e-05/0.3894, allocations: 19.98 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.3895, allocations: 35.92 kB / 0.5648 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.911e-05/0.3895, allocations: 63.64 kB / 0.5649 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.3898, allocations: 135.2 kB / 0.565 GB, free: 1.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3898, allocations: 0 / 0.565 GB, free: 1.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3898, allocations: 0 / 0.565 GB, free: 1.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.3898, allocations: 3.984 kB / 0.565 GB, free: 1.086 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.0007214/0.3905, allocations: 385.7 kB / 0.5654 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3905, allocations: 11.97 kB / 0.5654 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.3907, allocations: 28.77 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.391, allocations: 154.3 kB / 0.5656 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.391, allocations: 8.375 kB / 0.5656 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.3911, allocations: 12.38 kB / 0.5656 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.3915, allocations: 178.7 kB / 0.5658 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3915, allocations: 4 kB / 0.5658 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.3915, allocations: 4 kB / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3915, allocations: 0 / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003656/0.3919, allocations: 123.9 kB / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009205/0.3928, allocations: 427.4 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005559/0.3934, allocations: 186.5 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.3936, allocations: 80.72 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.3936, allocations: 160 / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.3936, allocations: 46.55 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.3936, allocations: 3.938 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001385/0.395, allocations: 496.7 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/0.3951, allocations: 114.8 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.3953, allocations: 155.3 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.3953, allocations: 29.7 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.3954, allocations: 104.1 kB / 0.5675 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.3954, allocations: 31.7 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/0.3955, allocations: 33.64 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3957, allocations: 322.8 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.3959, allocations: 76.8 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.3961, allocations: 94.5 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.3965, allocations: 140.7 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3965, allocations: 0 / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004613/0.397, allocations: 185.8 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.397, allocations: 7.938 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.397, allocations: 96 / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.397, allocations: 3.938 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.3972, allocations: 43.84 kB / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3972, allocations: 0 / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.3973, allocations: 27.97 kB / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3973, allocations: 8 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001637/0.3975, allocations: 121.4 kB / 0.5685 GB, free: 13.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001098/0.3976, allocations: 54.55 kB / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001769/0.3978, allocations: 84.78 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.61e-07/0.3978, allocations: 0 / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002437/0.398, allocations: 113.6 kB / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.398, allocations: 8 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-06/0.398, allocations: 0 / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-06/0.398, allocations: 3.938 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.996e-05/0.3981, allocations: 23.97 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3981, allocations: 3.938 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.858e-05/0.3982, allocations: 19.98 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3982, allocations: 4 kB / 0.5688 GB, free: 12.93 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.0001282/0.3984, allocations: 184.3 kB / 0.569 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.3984, allocations: 11.91 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.3985, allocations: 13.41 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3985, allocations: 4.219 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3985, allocations: 7.984 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3985, allocations: 0 / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009059/0.3994, allocations: 490.2 kB / 0.5695 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.3994, allocations: 11.97 kB / 0.5695 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.3996, allocations: 39.89 kB / 0.5695 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3996, allocations: 0 / 0.5695 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.3996, allocations: 4 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3996, allocations: 4 kB / 0.5696 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3996, allocations: 0 / 0.5696 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007582/0.4003, allocations: 356.1 kB / 0.5699 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.4004, allocations: 15.91 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.4004, allocations: 8.062 kB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.4006, allocations: 39.89 kB / 0.57 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.4007, allocations: 7.984 kB / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.4007, allocations: 4 kB / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.561e-05/0.4008, allocations: 120.9 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4008, allocations: 4 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.4011, allocations: 36 kB / 0.5701 GB, free: 11.51 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.0001215/0.4012, allocations: 95.19 kB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.4018, allocations: 191.8 kB / 0.5704 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.4018, allocations: 4 kB / 0.5704 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.402, allocations: 75.86 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.4024, allocations: 36.08 kB / 0.5705 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006958/0.4031, allocations: 319 kB / 0.5708 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.4035, allocations: 0.7046 MB / 0.5715 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.562e-05/0.4035, allocations: 15.44 kB / 0.5715 GB, free: 10.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4035, allocations: 4 kB / 0.5715 GB, free: 10.02 MB / 414.1 MB Notification: Performance of Templates: time 0.003745/0.4073, allocations: 1.865 MB / 0.5733 GB, free: 8.16 MB / 414.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/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: 7.604581544874236]