Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001005/0.001005, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001095/0.001095, allocations: 169.2 kB / 24.91 MB, free: 9.207 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.943/0.943, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.017e-05, allocations: 2.312 kB / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002208/0.002229, allocations: 1.699 MB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007247/0.002953, allocations: 0.5141 MB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.298e-05/0.003026, allocations: 7.938 kB / 275.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.003128, allocations: 11.86 kB / 275.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.336e-05/0.003201, allocations: 35.72 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.003336, allocations: 47.88 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.003462, allocations: 119.6 kB / 275.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.984e-05/0.003542, allocations: 17.95 kB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.939e-05/0.003611, allocations: 63.81 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.003674, allocations: 35.83 kB / 276 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.003695, allocations: 8 kB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.003706, allocations: 8 kB / 276 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.003726, allocations: 15.92 kB / 276 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.003752, allocations: 27.88 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.948e-05/0.003851, allocations: 75.66 kB / 276.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003854, allocations: 0 / 276.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.003855, allocations: 0 / 276.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.003858, allocations: 4 kB / 276.1 MB, free: 14.63 MB / 266.7 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.0003246/0.004183, allocations: 320.4 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.004214, allocations: 12.03 kB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.004241, allocations: 12.92 kB / 276.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.004388, allocations: 162.1 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.004405, allocations: 8.375 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.004424, allocations: 4.375 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.004556, allocations: 117.5 kB / 276.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.004565, allocations: 7.875 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.004573, allocations: 8 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.004577, allocations: 0 / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.363e-05/0.004611, allocations: 23.92 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.004976, allocations: 408.3 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.479e-05/0.00507, allocations: 62.47 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.005095, allocations: 20.84 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.005103, allocations: 4 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.005126, allocations: 34.56 kB / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.005127, allocations: 0 / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003876/0.005515, allocations: 277.2 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.00554, allocations: 51.41 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.754e-05/0.005618, allocations: 154.6 kB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.005629, allocations: 33.7 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.005668, allocations: 100 kB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.005687, allocations: 43.62 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.005725, allocations: 41.64 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.005802, allocations: 330.7 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.005819, allocations: 8 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.005851, allocations: 49.06 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.784e-05/0.005908, allocations: 74.72 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.005909, allocations: 4 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001011/0.00601, allocations: 85.53 kB / 278.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.006021, allocations: 4 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.006027, allocations: 4 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.006036, allocations: 0 / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.006121, allocations: 39.97 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.006124, allocations: 96 / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.006152, allocations: 8 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.006158, allocations: 4 kB / 278.6 MB, free: 11.95 MB / 266.7 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 5.794e-05/0.006216, allocations: 121.7 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.006234, allocations: 11.98 kB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.006261, allocations: 20.77 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.006263, allocations: 4 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.006265, allocations: 0 / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.006269, allocations: 3.984 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.006538, allocations: 288.3 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.006539, allocations: 0 / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.947e-05/0.006619, allocations: 39.97 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.006621, allocations: 0 / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.006629, allocations: 0 / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.006631, allocations: 7.938 kB / 279.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.006633, allocations: 3.938 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.006781, allocations: 205.1 kB / 279.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.006793, allocations: 11.97 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.006805, allocations: 8 kB / 279.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.123e-05/0.006846, allocations: 4 kB / 279.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.006882, allocations: 23.84 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.006891, allocations: 4 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.749e-05/0.006918, allocations: 32.83 kB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006918, allocations: 0 / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001326/0.007051, allocations: 20 kB / 279.4 MB, free: 11.09 MB / 266.7 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 7.171e-05/0.007123, allocations: 76.62 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.482e-05/0.007218, allocations: 68.7 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.007221, allocations: 0 / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.727e-05/0.007259, allocations: 41.75 kB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.007454, allocations: 43.02 kB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.007784, allocations: 279 kB / 279.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.547e-05/0.007819, allocations: 68 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.132e-05/0.007861, allocations: 13.48 kB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.007934, allocations: 75.36 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007934, allocations: 0 / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of Templates: time 0.003137/0.01107, allocations: 2.021 MB / 282 MB, free: 8.402 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.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: 2.5761650376953185]