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.0009532/0.0009532, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001039/0.001039, allocations: 161.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.9923/0.9923, allocations: 177 MB / 205.2 MB, free: 5.016 MB / 186.7 MB " [Timeout remaining time 179] 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.2448/0.2448, allocations: 34.86 MB / 296.6 MB, free: 396 kB / 266.7 MB " [Timeout remaining time 180] 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 1.532e-06/1.532e-06, allocations: 0 / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.317e-05, allocations: 2.312 kB / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.00304/0.003063, allocations: 1.696 MB / 327.6 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.004311, allocations: 0.6548 MB / 328.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.004411, allocations: 7.938 kB / 328.3 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.941e-05/0.004451, allocations: 7.875 kB / 328.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.004568, allocations: 23.8 kB / 328.3 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.005072, allocations: 159.5 kB / 328.4 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.00531, allocations: 159.6 kB / 328.6 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.005422, allocations: 17.95 kB / 328.6 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.005644, allocations: 103.8 kB / 328.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.005749, allocations: 43.86 kB / 328.8 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.00578, allocations: 19.94 kB / 328.8 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.493e-05/0.005835, allocations: 16 kB / 328.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.57e-05/0.005871, allocations: 35.89 kB / 328.8 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.005917, allocations: 39.91 kB / 328.9 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.006104, allocations: 115.5 kB / 329 MB, free: 4.043 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.006106, allocations: 4 kB / 329 MB, free: 4.039 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006106, allocations: 4 kB / 329 MB, free: 4.035 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.00611, allocations: 0 / 329 MB, free: 4.035 MB / 298.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.0005171/0.006627, allocations: 345.6 kB / 329.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.006661, allocations: 8.031 kB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.00681, allocations: 28.91 kB / 329.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.007019, allocations: 153.6 kB / 329.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.007039, allocations: 8.375 kB / 329.5 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.007073, allocations: 16.31 kB / 329.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.007384, allocations: 293 kB / 329.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.007396, allocations: 8.172 kB / 329.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.007412, allocations: 384 / 329.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.007421, allocations: 3.938 kB / 329.8 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.614e-05/0.007488, allocations: 27.98 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.008019, allocations: 268.6 kB / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.008184, allocations: 74.45 kB / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.008219, allocations: 16.86 kB / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.008236, allocations: 0 / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.008264, allocations: 42.56 kB / 330.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.008265, allocations: 0 / 330.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.00052/0.008785, allocations: 247.7 kB / 330.5 MB, free: 2.359 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.008832, allocations: 106.8 kB / 330.6 MB, free: 2.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.008929, allocations: 142.6 kB / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.008948, allocations: 29.7 kB / 330.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.008993, allocations: 100.1 kB / 330.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.009026, allocations: 35.67 kB / 330.9 MB, free: 1.906 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.009075, allocations: 29.64 kB / 330.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.009167, allocations: 326.8 kB / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.559e-05/0.009202, allocations: 12.86 kB / 331.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.009272, allocations: 97.95 kB / 331.4 MB, free: 1.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.284e-05/0.009345, allocations: 40.77 kB / 331.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.009346, allocations: 0 / 331.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001149/0.009461, allocations: 66.42 kB / 331.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.009475, allocations: 4 kB / 331.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.009479, allocations: 3.938 kB / 331.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.009492, allocations: 4 kB / 331.5 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.009614, allocations: 27.97 kB / 331.5 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.009616, allocations: 0 / 331.5 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.732e-05/0.009704, allocations: 20.02 kB / 331.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.009713, allocations: 4 kB / 331.5 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.797e-05/0.009771, allocations: 88.12 kB / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.51e-05/0.009826, allocations: 84.59 kB / 331.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.776e-05/0.009874, allocations: 36.77 kB / 331.7 MB, free: 1.004 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.033e-06/0.009876, allocations: 3.938 kB / 331.7 MB, free: 1 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 8.874e-05/0.009965, allocations: 61.67 kB / 331.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.009972, allocations: 4 kB / 331.8 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-06/0.009974, allocations: 7.938 kB / 331.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-06/0.009976, allocations: 0 / 331.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.01005, allocations: 19.98 kB / 331.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-06/0.01005, allocations: 4.031 kB / 331.8 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.432e-05/0.0101, allocations: 11.98 kB / 331.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.01011, allocations: 0.5469 kB / 331.8 MB, free: 0.8828 MB / 298.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 () * 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 8.426e-05/0.01019, allocations: 188.2 kB / 332 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.01023, allocations: 11.98 kB / 332 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.01027, allocations: 12.78 kB / 332.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01027, allocations: 4 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01027, allocations: 0 / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01028, allocations: 0 / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.01068, allocations: 279.4 kB / 332.3 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01068, allocations: 0 / 332.3 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.01079, allocations: 27.92 kB / 332.4 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01079, allocations: 4 kB / 332.4 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.0108, allocations: 3.938 kB / 332.4 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.0108, allocations: 80 / 332.4 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.0108, allocations: 7.969 kB / 332.4 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.01109, allocations: 200.2 kB / 332.6 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.0111, allocations: 8.016 kB / 332.6 MB, free: 100 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.01112, allocations: 4 kB / 332.6 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.01129, allocations: 35.95 kB / 332.6 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.01132, allocations: 11.97 kB / 332.6 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.01133, allocations: 4 kB / 332.6 MB, free: 44 kB / 298.7 MB Notification: Performance of sorting global known variables: time 3.715e-05/0.01137, allocations: 35.67 kB / 332.7 MB, free: 8 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01137, allocations: 0 / 332.7 MB, free: 8 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002977/0.01167, allocations: 35.98 kB / 332.7 MB, free: 15.97 MB / 314.7 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 9.302e-05/0.01176, allocations: 80.36 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.01192, allocations: 75.17 kB / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.01192, allocations: 0 / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.008e-05/0.01197, allocations: 28.83 kB / 332.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.01224, allocations: 38.27 kB / 332.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/0.01282, allocations: 254.2 kB / 333.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.495e-05/0.01286, allocations: 63.84 kB / 333.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.252e-05/0.01294, allocations: 16.48 kB / 333.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.01314, allocations: 99.31 kB / 333.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01314, allocations: 0 / 333.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of Templates: time 0.005451/0.01859, allocations: 2.621 MB / 336 MB, free: 12.73 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8915512189269066]