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.001625/0.001625, allocations: 112 kB / 17.68 MB, free: 5.332 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.0016/0.001601, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.442/1.442, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 49.86 kB / 302 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.122, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003203/0.1253, allocations: 1.669 MB / 353.2 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008649/0.1262, allocations: 496.2 kB / 353.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.452e-05/0.1263, allocations: 4 kB / 353.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.1264, allocations: 11.81 kB / 353.7 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.068e-05/0.1265, allocations: 23.8 kB / 353.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.1267, allocations: 51.92 kB / 353.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.1269, allocations: 123.5 kB / 353.8 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1271, allocations: 21.11 kB / 353.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/0.1272, allocations: 39.84 kB / 353.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.1273, allocations: 51.66 kB / 354 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.1273, allocations: 12 kB / 354 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.899e-05/0.1273, allocations: 8 kB / 354 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.568e-05/0.1274, allocations: 15.92 kB / 354 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.258e-05/0.1274, allocations: 51.72 kB / 354 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.1276, allocations: 95.52 kB / 354.1 MB, free: 1.031 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.1276, allocations: 3.938 kB / 354.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1276, allocations: 0 / 354.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1276, allocations: 0 / 354.1 MB, free: 1.027 MB / 286.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.0006993/0.1283, allocations: 427 kB / 354.6 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1284, allocations: 8.031 kB / 354.6 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.1284, allocations: 16.75 kB / 354.6 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.1288, allocations: 220.5 kB / 354.8 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.1288, allocations: 11.94 kB / 354.8 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.1288, allocations: 12 kB / 354.8 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.1291, allocations: 132.2 kB / 354.9 MB, free: 120 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1291, allocations: 3.938 kB / 355 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1291, allocations: 4 kB / 355 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1292, allocations: 4 kB / 355 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.1294, allocations: 67.84 kB / 355 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007418/0.1301, allocations: 0.5438 MB / 355.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.1305, allocations: 138.4 kB / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.1306, allocations: 52.83 kB / 355.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1306, allocations: 4 kB / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.1307, allocations: 30.56 kB / 355.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1307, allocations: 0 / 355.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001119/0.1318, allocations: 0.5136 MB / 356.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.1319, allocations: 55.41 kB / 356.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.132, allocations: 154.8 kB / 356.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.132, allocations: 29.7 kB / 356.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.1321, allocations: 123.7 kB / 356.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.1321, allocations: 43.3 kB / 356.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.1322, allocations: 33.72 kB / 356.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1323, allocations: 318.8 kB / 357 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1325, allocations: 59.95 kB / 357.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.1326, allocations: 83.31 kB / 357.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.1329, allocations: 135.3 kB / 357.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1329, allocations: 4 kB / 357.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003275/0.1332, allocations: 181.3 kB / 357.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1333, allocations: 8 kB / 357.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1333, allocations: 0 / 357.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1333, allocations: 4 kB / 357.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.1335, allocations: 39.91 kB / 357.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1335, allocations: 0 / 357.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.425e-05/0.1335, allocations: 15.98 kB / 357.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1336, allocations: 4 kB / 357.6 MB, free: 13.29 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 9.309e-05/0.1337, allocations: 125.8 kB / 357.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.1337, allocations: 15.84 kB / 357.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.1338, allocations: 20.7 kB / 357.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1338, allocations: 0 / 357.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1338, allocations: 0 / 357.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1338, allocations: 0 / 357.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007299/0.1345, allocations: 0.4921 MB / 358.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1345, allocations: 0 / 358.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.1347, allocations: 35.91 kB / 358.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1347, allocations: 0 / 358.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1347, allocations: 4 kB / 358.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1347, allocations: 0 / 358.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1347, allocations: 4.062 kB / 358.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.1353, allocations: 328.9 kB / 358.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.1353, allocations: 84.92 kB / 358.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.1354, allocations: 12.03 kB / 358.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.862e-05/0.1355, allocations: 11.98 kB / 358.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.1355, allocations: 11.98 kB / 358.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.1356, allocations: 7.938 kB / 358.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.26e-05/0.1356, allocations: 107.3 kB / 358.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1356, allocations: 0 / 358.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1359, allocations: 24 kB / 358.8 MB, free: 11.9 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.0001431/0.136, allocations: 107.7 kB / 358.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.1364, allocations: 122.8 kB / 359.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1364, allocations: 0 / 359.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.1366, allocations: 80.11 kB / 359.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.137, allocations: 43.97 kB / 359.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.1377, allocations: 312.9 kB / 359.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.138, allocations: 0.7161 MB / 360.2 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.491e-05/0.1381, allocations: 13.42 kB / 360.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.1381, allocations: 15.44 kB / 360.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1381, allocations: 4 kB / 360.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of Templates: time 0.004639/0.1428, allocations: 1.711 MB / 361.9 MB, free: 8.75 MB / 302.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 -s cvode -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