Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 114.2 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009925/0.0009925, allocations: 47.94 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2344, allocations: 49.44 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002689/0.2371, allocations: 1.67 MB / 403.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008154/0.2379, allocations: 486.7 kB / 403.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.813e-05/0.238, allocations: 4 kB / 403.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.2382, allocations: 19.8 kB / 403.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.65e-05/0.2383, allocations: 27.78 kB / 403.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.2384, allocations: 43.95 kB / 403.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.2386, allocations: 123.5 kB / 403.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2387, allocations: 33.09 kB / 403.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.172e-05/0.2388, allocations: 43.8 kB / 403.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.823e-05/0.2389, allocations: 47.7 kB / 403.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.2389, allocations: 8 kB / 403.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.239, allocations: 8 kB / 403.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.239, allocations: 19.92 kB / 403.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.2391, allocations: 47.67 kB / 404 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.2392, allocations: 93.03 kB / 404.1 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2392, allocations: 0 / 404.1 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2392, allocations: 4 kB / 404.1 MB, free: 6.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.2392, allocations: 0 / 404.1 MB, free: 6.195 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005232/0.2398, allocations: 430.6 kB / 404.5 MB, free: 5.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001051/0.2399, allocations: 12.03 kB / 404.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.2399, allocations: 12.75 kB / 404.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.2402, allocations: 230 kB / 404.7 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.2402, allocations: 8 kB / 404.8 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.2402, allocations: 8 kB / 404.8 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.2405, allocations: 132.1 kB / 404.9 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2405, allocations: 0 / 404.9 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2406, allocations: 4 kB / 404.9 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2406, allocations: 4 kB / 404.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.2408, allocations: 67.94 kB / 405 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.2415, allocations: 0.5514 MB / 405.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.2418, allocations: 134.5 kB / 405.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.242, allocations: 60.81 kB / 405.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.242, allocations: 4 kB / 405.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.242, allocations: 38.44 kB / 405.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.242, allocations: 0 / 405.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001104/0.2431, allocations: 0.5019 MB / 406.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.2432, allocations: 55.41 kB / 406.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.2433, allocations: 154.2 kB / 406.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.2434, allocations: 25.7 kB / 406.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.2434, allocations: 108 kB / 406.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.2435, allocations: 43.3 kB / 406.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.2435, allocations: 37.72 kB / 406.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.2437, allocations: 322.8 kB / 407 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.2439, allocations: 55.89 kB / 407 MB, free: 2.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.244, allocations: 79.3 kB / 407.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.2443, allocations: 142 kB / 407.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2444, allocations: 0 / 407.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003774/0.2447, allocations: 177.4 kB / 407.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2448, allocations: 4 kB / 407.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2448, allocations: 4 kB / 407.4 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2448, allocations: 0 / 407.4 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.245, allocations: 39.91 kB / 407.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.245, allocations: 4 kB / 407.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.304e-05/0.2451, allocations: 24.08 kB / 407.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.2451, allocations: 4 kB / 407.5 MB, free: 2.465 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.688e-05/0.2452, allocations: 117.8 kB / 407.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.2452, allocations: 15.75 kB / 407.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.2453, allocations: 20.7 kB / 407.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2453, allocations: 0 / 407.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2453, allocations: 0.9375 kB / 407.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.2453, allocations: 85.02 kB / 407.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.2454, allocations: 7.984 kB / 407.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.2455, allocations: 11.98 kB / 407.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.2455, allocations: 15.92 kB / 407.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005084/0.246, allocations: 256.7 kB / 408 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005865/0.2466, allocations: 386.6 kB / 408.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001638/0.2468, allocations: 71.92 kB / 408.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.284e-05/0.2469, allocations: 112.9 kB / 408.6 MB, free: 1.332 MB / 318.1 MB Notification: Performance of Backend: time 4.51e-07/0.2469, allocations: 0 / 408.6 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004719/0.2474, allocations: 158.2 kB / 408.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007424/0.2481, allocations: 0.75 MB / 409.5 MB, free: 380 kB / 318.1 MB Notification: Performance of Templates: time 0.004352/0.2525, allocations: 1.839 MB / 411.3 MB, free: 14.55 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,limit_a.y,limit_v.y,positionSmoothed.y Variables in the result:aMax,limit_a.Falling,limit_a.Rising,limit_a.Td,limit_a.initType,limit_a.strict,limit_a.y,limit_a.y_start,limit_v.Falling,limit_v.Rising,limit_v.Td,limit_v.initType,limit_v.strict,limit_v.y,limit_v.y_start,positionSmoothed.initType,positionSmoothed.k,positionSmoothed.y,positionSmoothed.y_start,positionStep.height,positionStep.offset,positionStep.startTime,time,vMax