Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 173.4 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2693/0.2693, allocations: 34.27 MB / 296.1 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 325.2 MB, free: 7.746 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.994e-05, allocations: 5.453 kB / 325.2 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003245/0.003275, allocations: 1.708 MB / 326.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.004317, allocations: 0.6548 MB / 327.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.567e-05/0.004413, allocations: 4 kB / 327.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.13e-05/0.004454, allocations: 15.8 kB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.004568, allocations: 11.81 kB / 327.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.005021, allocations: 159.5 kB / 327.8 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.005232, allocations: 155.7 kB / 327.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.005358, allocations: 21.95 kB / 328 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.005573, allocations: 107.7 kB / 328.1 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.005676, allocations: 39.88 kB / 328.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.005702, allocations: 12 kB / 328.1 MB, free: 4.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.815e-05/0.005751, allocations: 20 kB / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.00578, allocations: 39.83 kB / 328.2 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.005823, allocations: 44.52 kB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.005996, allocations: 115.5 kB / 328.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.006, allocations: 0 / 328.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.006001, allocations: 0 / 328.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.006006, allocations: 8 kB / 328.3 MB, free: 4.625 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.0004215/0.006427, allocations: 341.7 kB / 328.7 MB, free: 4.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.006465, allocations: 8.031 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.006599, allocations: 24.92 kB / 328.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004828/0.007082, allocations: 153.5 kB / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.0071, allocations: 8.375 kB / 328.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.007128, allocations: 16.38 kB / 328.9 MB, free: 4.039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.007374, allocations: 296.6 kB / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.088e-06/0.007383, allocations: 192 / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.007397, allocations: 8.375 kB / 329.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.007402, allocations: 7.875 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.744e-05/0.007449, allocations: 27.89 kB / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.007875, allocations: 255.9 kB / 329.5 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.008013, allocations: 78.52 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.008044, allocations: 16.86 kB / 329.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.008077, allocations: 3.984 kB / 329.6 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.008107, allocations: 38.56 kB / 329.6 MB, free: 3.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 3.105e-06/0.00811, allocations: 3.984 kB / 329.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005327/0.008642, allocations: 237.7 kB / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.008698, allocations: 110.8 kB / 329.9 MB, free: 2.828 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.576e-05/0.008794, allocations: 146.6 kB / 330.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.008812, allocations: 25.7 kB / 330.1 MB, free: 2.641 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.008859, allocations: 104.1 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.008888, allocations: 27.7 kB / 330.2 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.008932, allocations: 29.69 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.009035, allocations: 326.8 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.759e-05/0.009073, allocations: 24.78 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.155e-05/0.009135, allocations: 93.89 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.299e-05/0.009188, allocations: 32.84 kB / 330.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.009189, allocations: 4.031 kB / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.758e-05/0.009277, allocations: 73.59 kB / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.00929, allocations: 4 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.009295, allocations: 0 / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.009308, allocations: 0 / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.541e-05/0.009403, allocations: 27.98 kB / 330.8 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.009406, allocations: 0 / 330.8 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.009455, allocations: 19.97 kB / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.009463, allocations: 4 kB / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.373e-05/0.009507, allocations: 88.14 kB / 330.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.432e-05/0.009551, allocations: 94.2 kB / 331 MB, free: 1.629 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.708e-05/0.009578, allocations: 24.84 kB / 331.1 MB, free: 1.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.009579, allocations: 7.938 kB / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 6.266e-05/0.009642, allocations: 65.61 kB / 331.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/0.009648, allocations: 6.031 kB / 331.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-06/0.00965, allocations: 3.984 kB / 331.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-06/0.009651, allocations: 4 kB / 331.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.088e-05/0.009692, allocations: 16 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-06/0.009694, allocations: 0 / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.009728, allocations: 12.02 kB / 331.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-06/0.00973, allocations: 4.547 kB / 331.2 MB, free: 1.48 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 7.989e-05/0.00981, allocations: 192.1 kB / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.009832, allocations: 11.98 kB / 331.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.009878, allocations: 16.77 kB / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.009881, allocations: 4 kB / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.009883, allocations: 0 / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.009888, allocations: 0 / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.0102, allocations: 267.5 kB / 331.7 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01021, allocations: 4.031 kB / 331.7 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.117e-05/0.01029, allocations: 27.97 kB / 331.7 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.01029, allocations: 4 kB / 331.7 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.0103, allocations: 4 kB / 331.7 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.01031, allocations: 4.078 kB / 331.7 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01031, allocations: 7.922 kB / 331.7 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.01047, allocations: 196.2 kB / 331.9 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.01048, allocations: 7.953 kB / 331.9 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.0105, allocations: 0 / 331.9 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.0106, allocations: 36 kB / 331.9 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.01064, allocations: 7.984 kB / 332 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.01064, allocations: 7.938 kB / 332 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.256e-05/0.01068, allocations: 39.25 kB / 332 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01068, allocations: 0 / 332 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.01084, allocations: 35.94 kB / 332 MB, free: 0.5703 MB / 298.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 0.0001144/0.01095, allocations: 76.36 kB / 332.1 MB, free: 500 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.01107, allocations: 77.62 kB / 332.2 MB, free: 416 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.01108, allocations: 0 / 332.2 MB, free: 416 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.594e-05/0.01111, allocations: 32.77 kB / 332.2 MB, free: 380 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.01132, allocations: 40.59 kB / 332.3 MB, free: 340 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.01184, allocations: 246.6 kB / 332.5 MB, free: 60 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.054e-05/0.0119, allocations: 67.83 kB / 332.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.957e-05/0.01197, allocations: 20.55 kB / 332.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.01212, allocations: 99.31 kB / 332.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01212, allocations: 3.938 kB / 332.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of Templates: time 0.004626/0.01674, allocations: 2.618 MB / 335.3 MB, free: 13.3 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 3.055997039191425]