Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001558/0.001558, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001884/0.001884, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 68.36 kB / 306.3 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1165, allocations: 50.53 MB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.0028/0.1194, allocations: 1.737 MB / 358.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008815/0.1203, allocations: 0.5143 MB / 359 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.278e-05/0.1204, allocations: 3.938 kB / 359 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.1205, allocations: 3.938 kB / 359 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.656e-05/0.1206, allocations: 19.86 kB / 359.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.1208, allocations: 43.95 kB / 359.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.1209, allocations: 111.6 kB / 359.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1211, allocations: 33.09 kB / 359.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.714e-05/0.1211, allocations: 47.7 kB / 359.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.435e-05/0.1212, allocations: 39.78 kB / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1212, allocations: 4 kB / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.915e-05/0.1213, allocations: 4 kB / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.1213, allocations: 19.92 kB / 359.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.575e-05/0.1214, allocations: 51.61 kB / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.1215, allocations: 79.92 kB / 359.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1215, allocations: 4 kB / 359.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1215, allocations: 0 / 359.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.1215, allocations: 0 / 359.5 MB, free: 11.79 MB / 302.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.0006388/0.1222, allocations: 429.5 kB / 359.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1222, allocations: 12.03 kB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.1223, allocations: 12.84 kB / 359.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.1225, allocations: 208.6 kB / 360.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1225, allocations: 12.38 kB / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.1226, allocations: 20.06 kB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.1229, allocations: 120.2 kB / 360.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1229, allocations: 3.906 kB / 360.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1229, allocations: 8 kB / 360.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1229, allocations: 4 kB / 360.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.1231, allocations: 75.88 kB / 360.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.1238, allocations: 0.5477 MB / 360.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.1241, allocations: 130.4 kB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.1243, allocations: 60.83 kB / 361.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.1243, allocations: 0 / 361.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.1243, allocations: 34.56 kB / 361.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 9.61e-07/0.1243, allocations: 0 / 361.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001074/0.1254, allocations: 0.5097 MB / 361.7 MB, free: 9.398 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.1254, allocations: 51.41 kB / 361.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.1256, allocations: 150.2 kB / 361.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1256, allocations: 29.7 kB / 361.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.1257, allocations: 111.9 kB / 362 MB, free: 9.031 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.1257, allocations: 51.28 kB / 362 MB, free: 8.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.1258, allocations: 29.72 kB / 362.1 MB, free: 8.945 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1259, allocations: 330.8 kB / 362.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.126, allocations: 51.95 kB / 362.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1262, allocations: 87.33 kB / 362.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.1265, allocations: 126.9 kB / 362.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1265, allocations: 4 kB / 362.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003754/0.1269, allocations: 181.3 kB / 362.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1269, allocations: 8 kB / 362.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1269, allocations: 3.938 kB / 362.8 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.1269, allocations: 0 / 362.8 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1271, allocations: 36.06 kB / 362.9 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1271, allocations: 11.94 kB / 362.9 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.812e-05/0.1272, allocations: 15.98 kB / 362.9 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.1272, allocations: 4 kB / 362.9 MB, free: 8.066 MB / 302.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.0001087/0.1273, allocations: 122.7 kB / 363 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.1274, allocations: 7.906 kB / 363 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.1274, allocations: 20.66 kB / 363.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1274, allocations: 7.984 kB / 363.1 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1274, allocations: 0 / 363.1 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1274, allocations: 7.984 kB / 363.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007875/0.1282, allocations: 499.8 kB / 363.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.1282, allocations: 4 kB / 363.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.1284, allocations: 35.91 kB / 363.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1284, allocations: 0 / 363.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1284, allocations: 4 kB / 363.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1284, allocations: 0 / 363.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1284, allocations: 0 / 363.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.129, allocations: 324.9 kB / 363.9 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.1291, allocations: 88.92 kB / 364 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.1291, allocations: 8 kB / 364 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1292, allocations: 16.03 kB / 364 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.1293, allocations: 15.97 kB / 364 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.1293, allocations: 4 kB / 364.1 MB, free: 6.809 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.251e-05/0.1294, allocations: 110.5 kB / 364.2 MB, free: 6.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1294, allocations: 0 / 364.2 MB, free: 6.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.1296, allocations: 20 kB / 364.2 MB, free: 6.684 MB / 302.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.0001019/0.1297, allocations: 103.2 kB / 364.3 MB, free: 6.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003398/0.1301, allocations: 127.8 kB / 364.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1301, allocations: 0 / 364.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.1303, allocations: 67.89 kB / 364.5 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.1306, allocations: 39.09 kB / 364.5 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005925/0.1313, allocations: 357.8 kB / 364.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.1316, allocations: 0.7125 MB / 365.6 MB, free: 5.215 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.526e-05/0.1316, allocations: 17.42 kB / 365.6 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.1317, allocations: 15.44 kB / 365.6 MB, free: 5.184 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1317, allocations: 0 / 365.6 MB, free: 5.184 MB / 302.1 MB Notification: Performance of Templates: time 0.004584/0.1363, allocations: 1.493 MB / 367.1 MB, free: 3.711 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches