Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001027/0.001027, allocations: 80.98 kB / 20.65 MB, free: 3.836 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.001028/0.001028, allocations: 173 kB / 24.06 MB, free: 448 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9719/0.9719, allocations: 158.6 MB / 185.9 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1406/0.1406, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.774e-05, allocations: 2.312 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002657/0.002684, allocations: 1.699 MB / 349.8 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003697, allocations: 0.6241 MB / 350.4 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.003852, allocations: 4 kB / 350.4 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.968e-05/0.003952, allocations: 11.81 kB / 350.5 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.004101, allocations: 31.72 kB / 350.5 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004837/0.004585, allocations: 131.7 kB / 350.6 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.00479, allocations: 159.6 kB / 350.8 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.004937, allocations: 29.28 kB / 350.8 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.005106, allocations: 95.73 kB / 350.9 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.00521, allocations: 43.88 kB / 350.9 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.005244, allocations: 12 kB / 350.9 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.866e-05/0.005263, allocations: 20 kB / 351 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.0053, allocations: 39.83 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.005337, allocations: 35.91 kB / 351 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.005499, allocations: 115.5 kB / 351.1 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.005504, allocations: 0 / 351.1 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.005505, allocations: 4 kB / 351.2 MB, free: 6.121 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.005512, allocations: 0 / 351.2 MB, free: 6.121 MB / 282.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.0004718/0.005984, allocations: 475.9 kB / 351.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.006026, allocations: 8.031 kB / 351.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.006071, allocations: 20.84 kB / 351.6 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.006252, allocations: 188.3 kB / 351.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.006273, allocations: 4.375 kB / 351.8 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.006301, allocations: 12.38 kB / 351.8 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.00652, allocations: 300.1 kB / 352.1 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.00653, allocations: 4.188 kB / 352.1 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.006543, allocations: 4.375 kB / 352.1 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.006549, allocations: 7.938 kB / 352.2 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.006595, allocations: 38.08 kB / 352.2 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.007032, allocations: 372 kB / 352.6 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.007164, allocations: 75.09 kB / 352.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.007194, allocations: 19.84 kB / 352.6 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.007219, allocations: 12 kB / 352.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.007246, allocations: 37.38 kB / 352.7 MB, free: 4.406 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.007248, allocations: 0 / 352.7 MB, free: 4.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004575/0.007705, allocations: 257.9 kB / 352.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.007744, allocations: 106.8 kB / 353.1 MB, free: 3.988 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/0.007824, allocations: 204 kB / 353.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.007836, allocations: 33.7 kB / 353.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.007881, allocations: 150.8 kB / 353.4 MB, free: 3.582 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.007906, allocations: 35.69 kB / 353.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.007948, allocations: 43.3 kB / 353.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.008007, allocations: 0.4922 MB / 354 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.727e-05/0.008045, allocations: 23.67 kB / 354 MB, free: 2.965 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.772e-05/0.008102, allocations: 110.4 kB / 354.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.691e-05/0.008159, allocations: 35.69 kB / 354.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008161, allocations: 0 / 354.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001177/0.008279, allocations: 89.84 kB / 354.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.008301, allocations: 4 kB / 354.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.008308, allocations: 160 / 354.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.008331, allocations: 8 kB / 354.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.008439, allocations: 28.02 kB / 354.3 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.008444, allocations: 3.984 kB / 354.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.008494, allocations: 15.97 kB / 354.3 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.008503, allocations: 4 kB / 354.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.465e-05/0.008548, allocations: 138.8 kB / 354.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.93e-05/0.008587, allocations: 98.47 kB / 354.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 3.242e-05/0.00862, allocations: 35.61 kB / 354.6 MB, free: 2.336 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.41e-07/0.00862, allocations: 0 / 354.6 MB, free: 2.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 7.983e-05/0.0087, allocations: 81.53 kB / 354.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.753e-06/0.008707, allocations: 8.031 kB / 354.7 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-06/0.008708, allocations: 4 kB / 354.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-06/0.008711, allocations: 0 / 354.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.33e-05/0.008754, allocations: 19.98 kB / 354.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-06/0.008756, allocations: 3.938 kB / 354.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.00879, allocations: 11.98 kB / 354.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-06/0.008793, allocations: 0 / 354.7 MB, free: 2.203 MB / 282.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 6.839e-05/0.008861, allocations: 276 kB / 355 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.008887, allocations: 11.95 kB / 355 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.903e-05/0.008937, allocations: 16.78 kB / 355 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.008939, allocations: 4 kB / 355 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.008943, allocations: 3.984 kB / 355 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.008946, allocations: 0 / 355 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.009282, allocations: 373.5 kB / 355.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.009283, allocations: 0 / 355.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.548e-05/0.009358, allocations: 23.98 kB / 355.4 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009361, allocations: 7.938 kB / 355.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.009372, allocations: 4 kB / 355.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.009376, allocations: 3.969 kB / 355.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.00938, allocations: 7.984 kB / 355.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.009559, allocations: 259.4 kB / 355.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.009572, allocations: 15.89 kB / 355.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.009588, allocations: 4 kB / 355.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.009699, allocations: 31.97 kB / 355.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.009729, allocations: 3.984 kB / 355.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.009739, allocations: 16.02 kB / 355.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.364e-05/0.009773, allocations: 152 kB / 355.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009773, allocations: 0 / 355.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001914/0.009964, allocations: 32 kB / 355.9 MB, free: 0.918 MB / 282.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.212e-05/0.01006, allocations: 99.25 kB / 356 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.01019, allocations: 79.2 kB / 356.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.0102, allocations: 4 kB / 356.1 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.615e-05/0.01023, allocations: 36.41 kB / 356.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.0105, allocations: 40.62 kB / 356.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.01107, allocations: 257.3 kB / 356.4 MB, free: 368 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.909e-05/0.0111, allocations: 63.84 kB / 356.5 MB, free: 284 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.018e-05/0.01116, allocations: 16.48 kB / 356.5 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.01129, allocations: 126.1 kB / 356.6 MB, free: 140 kB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01129, allocations: 0 / 356.6 MB, free: 140 kB / 282.7 MB Notification: Performance of Templates: time 0.004586/0.01588, allocations: 2.665 MB / 359.3 MB, free: 13.5 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.2273752079345286]