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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001544/0.001544, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002035/0.002035, allocations: 217.3 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 230.2 MB / 256.8 MB, free: 8.621 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.88 MB / 359.9 MB, free: 4.996 MB / 286.1 MB [Timeout remaining time 90] 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.003031/0.003031, allocations: 79.86 kB / 0.495 GB, free: 8.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3412, allocations: 65.99 MB / 0.5594 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003238/0.3444, allocations: 1.686 MB / 0.5611 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.3457, allocations: 0.6712 MB / 0.5617 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.043e-05/0.3458, allocations: 0 / 0.5617 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.727e-05/0.3458, allocations: 11.86 kB / 0.5617 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.3459, allocations: 15.81 kB / 0.5617 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.3464, allocations: 158.3 kB / 0.5619 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.3467, allocations: 159.6 kB / 0.562 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3468, allocations: 39.55 kB / 0.5621 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.347, allocations: 67.77 kB / 0.5622 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.3471, allocations: 71.67 kB / 0.5622 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.3471, allocations: 12 kB / 0.5622 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.678e-05/0.3472, allocations: 16 kB / 0.5622 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.3472, allocations: 39.83 kB / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.242e-05/0.3473, allocations: 55.73 kB / 0.5623 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.3475, allocations: 135.1 kB / 0.5625 GB, free: 2.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3475, allocations: 0 / 0.5625 GB, free: 2.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3475, allocations: 8 kB / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3476, allocations: 0 / 0.5625 GB, free: 2.047 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.0007759/0.3483, allocations: 466.7 kB / 0.5629 GB, free: 1.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3484, allocations: 12.03 kB / 0.5629 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.3485, allocations: 24.83 kB / 0.563 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.3489, allocations: 224.2 kB / 0.5632 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.3489, allocations: 12.31 kB / 0.5632 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.3489, allocations: 4.375 kB / 0.5632 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.3494, allocations: 176.4 kB / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3494, allocations: 4 kB / 0.5634 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.3494, allocations: 8 kB / 0.5634 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3494, allocations: 0 / 0.5634 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.3498, allocations: 119.9 kB / 0.5635 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008659/0.3506, allocations: 456.3 kB / 0.5639 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/0.3512, allocations: 194.4 kB / 0.5641 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.3514, allocations: 76.8 kB / 0.5642 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.3515, allocations: 0 / 0.5642 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.3515, allocations: 34.56 kB / 0.5642 GB, free: 104 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.3515, allocations: 0 / 0.5642 GB, free: 104 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001506/0.353, allocations: 0.5643 MB / 0.5648 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.29e-05/0.3531, allocations: 106.8 kB / 0.5649 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.3532, allocations: 159.4 kB / 0.565 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.3533, allocations: 29.7 kB / 0.565 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.3534, allocations: 112.1 kB / 0.5651 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.3534, allocations: 35.8 kB / 0.5652 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.3535, allocations: 25.7 kB / 0.5652 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3536, allocations: 330.8 kB / 0.5655 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.3538, allocations: 72.8 kB / 0.5656 GB, free: 14.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.3541, allocations: 90.5 kB / 0.5657 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.3545, allocations: 136.7 kB / 0.5658 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3545, allocations: 4 kB / 0.5658 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004852/0.3549, allocations: 189.5 kB / 0.566 GB, free: 14.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.355, allocations: 6.031 kB / 0.566 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.355, allocations: 0 / 0.566 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.355, allocations: 0 / 0.566 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.3552, allocations: 47.78 kB / 0.566 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3552, allocations: 4 kB / 0.566 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.3553, allocations: 23.95 kB / 0.5661 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.3553, allocations: 4 kB / 0.5661 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001624/0.3555, allocations: 120.1 kB / 0.5662 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001199/0.3556, allocations: 62.83 kB / 0.5662 GB, free: 13.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002053/0.3558, allocations: 80.88 kB / 0.5663 GB, free: 13.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.3558, allocations: 0 / 0.5663 GB, free: 13.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002577/0.3561, allocations: 117.6 kB / 0.5664 GB, free: 13.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/0.3561, allocations: 7.938 kB / 0.5664 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.3561, allocations: 7.984 kB / 0.5665 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-06/0.3561, allocations: 4.031 kB / 0.5665 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.557e-05/0.3562, allocations: 19.98 kB / 0.5665 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.3562, allocations: 3.938 kB / 0.5665 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.643e-05/0.3563, allocations: 11.98 kB / 0.5665 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3563, allocations: 4 kB / 0.5665 GB, free: 13.59 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.0001272/0.3564, allocations: 184.3 kB / 0.5667 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.3565, allocations: 11.91 kB / 0.5667 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.926e-05/0.3565, allocations: 21.41 kB / 0.5667 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.3565, allocations: 11.92 kB / 0.5667 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3565, allocations: 0 / 0.5667 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3565, allocations: 4 kB / 0.5667 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009582/0.3575, allocations: 0.4992 MB / 0.5672 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.3575, allocations: 7.922 kB / 0.5672 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.3577, allocations: 39.91 kB / 0.5672 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3577, allocations: 0 / 0.5672 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3577, allocations: 0 / 0.5672 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3577, allocations: 0 / 0.5672 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3577, allocations: 4 kB / 0.5673 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007717/0.3585, allocations: 372.1 kB / 0.5676 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.3585, allocations: 89.03 kB / 0.5677 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.3586, allocations: 4 kB / 0.5677 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.3588, allocations: 39.95 kB / 0.5677 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.3589, allocations: 8.047 kB / 0.5677 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.3589, allocations: 4 kB / 0.5677 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.359, allocations: 125.5 kB / 0.5679 GB, free: 12.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.359, allocations: 0 / 0.5679 GB, free: 12.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003188/0.3593, allocations: 32 kB / 0.5679 GB, free: 12.05 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.0001548/0.3595, allocations: 103.2 kB / 0.568 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006001/0.3601, allocations: 187.8 kB / 0.5682 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3601, allocations: 4 kB / 0.5682 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.3603, allocations: 75.88 kB / 0.5682 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.3607, allocations: 46.67 kB / 0.5683 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007009/0.3614, allocations: 310.2 kB / 0.5686 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.3618, allocations: 0.7046 MB / 0.5693 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.3619, allocations: 19.44 kB / 0.5693 GB, free: 10.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3619, allocations: 0 / 0.5693 GB, free: 10.55 MB / 414.1 MB Notification: Performance of Templates: time 0.00393/0.3658, allocations: 1.855 MB / 0.5711 GB, free: 8.703 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.0.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