Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.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.00213/0.00213, allocations: 81.23 kB / 21.99 MB, free: 4.75 MB / 14.72 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.002155/0.002155, allocations: 157.8 kB / 25.25 MB, free: 2.742 MB / 14.72 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 1.342/1.342, allocations: 158.6 MB / 187 MB, free: 6.332 MB / 174.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 55 kB / 299.3 MB, free: 6.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2355, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00305/0.2385, allocations: 1.641 MB / 350.1 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009526/0.2395, allocations: 0.501 MB / 350.6 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.895e-05/0.2396, allocations: 0 / 350.6 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.2397, allocations: 15.8 kB / 350.6 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.623e-05/0.2398, allocations: 31.8 kB / 350.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.2399, allocations: 51.88 kB / 350.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.2401, allocations: 111.6 kB / 350.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2402, allocations: 21.28 kB / 350.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.545e-05/0.2403, allocations: 47.72 kB / 350.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.53e-05/0.2404, allocations: 39.78 kB / 350.9 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.2404, allocations: 8 kB / 350.9 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.844e-05/0.2404, allocations: 8 kB / 351 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.2405, allocations: 27.8 kB / 351 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.2405, allocations: 31.8 kB / 351 MB, free: 13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.2407, allocations: 102.1 kB / 351.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2407, allocations: 0 / 351.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2407, allocations: 0 / 351.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.2407, allocations: 0 / 351.1 MB, free: 12.9 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.0005856/0.2413, allocations: 361.7 kB / 351.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2413, allocations: 11.98 kB / 351.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.2413, allocations: 16.84 kB / 351.5 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.2416, allocations: 158.9 kB / 351.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.2417, allocations: 4.375 kB / 351.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.2417, allocations: 16.12 kB / 351.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.242, allocations: 132.1 kB / 351.8 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.242, allocations: 3.938 kB / 351.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.242, allocations: 0 / 351.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.242, allocations: 4 kB / 351.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.2423, allocations: 67.89 kB / 351.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/0.243, allocations: 492.5 kB / 352.4 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.2434, allocations: 118.5 kB / 352.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.2435, allocations: 64.94 kB / 352.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.2435, allocations: 3.938 kB / 352.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.2436, allocations: 34.56 kB / 352.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.2436, allocations: 0 / 352.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001142/0.2447, allocations: 444.7 kB / 353 MB, free: 10.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.2448, allocations: 51.41 kB / 353.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.2449, allocations: 162 kB / 353.2 MB, free: 10.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.2449, allocations: 25.7 kB / 353.2 MB, free: 10.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.245, allocations: 116 kB / 353.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.245, allocations: 43.59 kB / 353.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.2451, allocations: 37.7 kB / 353.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2452, allocations: 326.8 kB / 353.8 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.2454, allocations: 51.95 kB / 353.8 MB, free: 10 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.2456, allocations: 75.39 kB / 353.9 MB, free: 9.918 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.2459, allocations: 139.3 kB / 354 MB, free: 9.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2459, allocations: 0 / 354 MB, free: 9.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004034/0.2463, allocations: 178.4 kB / 354.2 MB, free: 9.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2463, allocations: 4.312 kB / 354.2 MB, free: 9.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.2463, allocations: 4 kB / 354.2 MB, free: 9.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2464, allocations: 8.031 kB / 354.2 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.2465, allocations: 35.92 kB / 354.2 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.2465, allocations: 7.984 kB / 354.2 MB, free: 9.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.781e-05/0.2466, allocations: 15.98 kB / 354.3 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.2466, allocations: 4 kB / 354.3 MB, free: 9.512 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 0.0001122/0.2468, allocations: 121.8 kB / 354.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.2468, allocations: 11.91 kB / 354.4 MB, free: 9.371 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.2468, allocations: 20.72 kB / 354.4 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.2468, allocations: 15.92 kB / 354.4 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2468, allocations: 0 / 354.4 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2469, allocations: 3.984 kB / 354.4 MB, free: 9.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007849/0.2476, allocations: 423.6 kB / 354.8 MB, free: 8.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.2476, allocations: 12.06 kB / 354.9 MB, free: 8.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.2478, allocations: 27.98 kB / 354.9 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.2478, allocations: 0 / 354.9 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.2478, allocations: 8 kB / 354.9 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2478, allocations: 3.984 kB / 354.9 MB, free: 8.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2478, allocations: 0 / 354.9 MB, free: 8.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/0.2484, allocations: 324.9 kB / 355.2 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.2485, allocations: 15.91 kB / 355.2 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.2485, allocations: 0 / 355.2 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.2486, allocations: 16.03 kB / 355.2 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.2487, allocations: 11.97 kB / 355.3 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.2487, allocations: 4 kB / 355.3 MB, free: 8.434 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.878e-05/0.2488, allocations: 111.3 kB / 355.4 MB, free: 8.324 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2488, allocations: 0 / 355.4 MB, free: 8.324 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000261/0.249, allocations: 20 kB / 355.4 MB, free: 8.305 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.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 (12): * Single equations (assignments): 12 * 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.0001077/0.2491, allocations: 107.1 kB / 355.5 MB, free: 8.191 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003937/0.2495, allocations: 119.9 kB / 355.6 MB, free: 8.074 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2495, allocations: 4 kB / 355.6 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.2497, allocations: 64.2 kB / 355.7 MB, free: 8.008 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.2501, allocations: 52.02 kB / 355.7 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/0.2508, allocations: 324.8 kB / 356 MB, free: 7.605 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.2509, allocations: 102.8 kB / 356.1 MB, free: 7.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.902e-05/0.251, allocations: 13.48 kB / 356.2 MB, free: 7.469 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.251, allocations: 16.5 kB / 356.2 MB, free: 7.453 MB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.251, allocations: 0 / 356.2 MB, free: 7.453 MB / 318.1 MB Notification: Performance of Templates: time 0.005097/0.2561, allocations: 1.87 MB / 358 MB, free: 5.578 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.378249022993259]