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.001263/0.001263, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001813/0.001813, allocations: 168 kB / 24.99 MB, free: 8.289 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 0.9777/0.9777, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.269/0.269, allocations: 34.25 MB / 296 MB, free: 0.7734 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 1.583e-06/1.583e-06, allocations: 0 / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.886e-05, allocations: 2.312 kB / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002359/0.002388, allocations: 1.704 MB / 379.7 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009973/0.003385, allocations: 0.6349 MB / 380.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.003474, allocations: 7.938 kB / 380.4 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.724e-05/0.003512, allocations: 11.88 kB / 380.4 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.003613, allocations: 19.73 kB / 380.4 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.004046, allocations: 155.6 kB / 380.5 MB, free: 432 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.004239, allocations: 155.6 kB / 380.7 MB, free: 276 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.004357, allocations: 29.28 kB / 380.7 MB, free: 248 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.004541, allocations: 99.72 kB / 380.8 MB, free: 148 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.91e-05/0.00463, allocations: 47.88 kB / 380.9 MB, free: 100 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.004655, allocations: 16 kB / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.701e-05/0.004702, allocations: 19.98 kB / 380.9 MB, free: 64 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.004726, allocations: 27.92 kB / 380.9 MB, free: 36 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.004782, allocations: 47.88 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.00496, allocations: 115.6 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004963, allocations: 0 / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004964, allocations: 0 / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.004969, allocations: 0 / 381.1 MB, free: 15.88 MB / 362.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.0005149/0.005484, allocations: 472 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.005522, allocations: 12.03 kB / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.005668, allocations: 32.83 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.005889, allocations: 171.3 kB / 381.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.005911, allocations: 12.31 kB / 381.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.005939, allocations: 12.38 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.006223, allocations: 310 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.006234, allocations: 4.188 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.00625, allocations: 8.375 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.006258, allocations: 3.938 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.152e-05/0.006329, allocations: 35.97 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.006863, allocations: 403.4 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.007026, allocations: 83.09 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.125e-05/0.007068, allocations: 27.69 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.007088, allocations: 4 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.007112, allocations: 41.31 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.007114, allocations: 0 / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005662/0.00768, allocations: 289.8 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.007732, allocations: 102.8 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.007862, allocations: 201.9 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.007882, allocations: 29.7 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.007998, allocations: 154.8 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.008027, allocations: 31.7 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.008072, allocations: 39.36 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.008211, allocations: 0.4961 MB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.797e-05/0.008259, allocations: 31.61 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.008366, allocations: 98.45 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.54e-05/0.008441, allocations: 43.67 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.008443, allocations: 4 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001316/0.008575, allocations: 97.56 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.008588, allocations: 4 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.008593, allocations: 0 / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.008605, allocations: 0 / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.008718, allocations: 39.89 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.008724, allocations: 0 / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.008778, allocations: 11.98 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.008787, allocations: 11.98 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.484e-05/0.008852, allocations: 138.8 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.728e-05/0.00891, allocations: 94.45 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.674e-05/0.008956, allocations: 44.17 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.3e-07/0.008957, allocations: 0 / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 8.894e-05/0.009046, allocations: 81.58 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.525e-06/0.009053, allocations: 14.38 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-06/0.009055, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-06/0.009056, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.396e-05/0.0091, allocations: 23.92 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-06/0.009101, allocations: 0 / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.635e-05/0.009138, allocations: 11.98 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-06/0.009141, allocations: 0 / 384.7 MB, free: 11.85 MB / 362.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 0.0001623/0.009303, allocations: 276 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.009332, allocations: 19.91 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.009371, allocations: 16.78 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.009375, allocations: 3.984 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.009378, allocations: 0 / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.009383, allocations: 3.984 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.009754, allocations: 397 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.009757, allocations: 4 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-05/0.009836, allocations: 31.91 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.009837, allocations: 0 / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.009846, allocations: 0 / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.009848, allocations: 4.031 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.00985, allocations: 7.938 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.01006, allocations: 267.4 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.01007, allocations: 3.953 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.01009, allocations: 8 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.01021, allocations: 27.97 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.01024, allocations: 11.92 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.01025, allocations: 20.02 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.686e-05/0.01031, allocations: 149.5 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01031, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.01051, allocations: 32 kB / 386 MB, free: 10.52 MB / 362.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.705e-05/0.01061, allocations: 99.19 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.01078, allocations: 95.27 kB / 386.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01078, allocations: 0 / 386.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.602e-05/0.01082, allocations: 39.61 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.01107, allocations: 44.02 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.01159, allocations: 253.6 kB / 386.5 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.597e-05/0.01164, allocations: 71.83 kB / 386.6 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.458e-05/0.0117, allocations: 9.047 kB / 386.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.01174, allocations: 20.48 kB / 386.6 MB, free: 9.82 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01175, allocations: 4 kB / 386.6 MB, free: 9.816 MB / 362.7 MB Notification: Performance of Templates: time 0.003846/0.01559, allocations: 2.443 MB / 389.1 MB, free: 7.422 MB / 362.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.1043861981015652]