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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.001226/0.001226, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001368/0.001368, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 47.92 kB / 280 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1085, allocations: 46.63 MB / 326.6 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003019/0.1116, allocations: 1.721 MB / 328.3 MB, free: 3.168 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009366/0.1125, allocations: 0.5192 MB / 328.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.099e-05/0.1126, allocations: 7.938 kB / 328.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.1128, allocations: 15.92 kB / 328.9 MB, free: 2.617 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.39e-05/0.1129, allocations: 15.86 kB / 328.9 MB, free: 2.602 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.113, allocations: 39.95 kB / 328.9 MB, free: 2.562 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1132, allocations: 111.6 kB / 329 MB, free: 2.453 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1133, allocations: 24.89 kB / 329 MB, free: 2.43 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.285e-05/0.1134, allocations: 47.72 kB / 329.1 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.978e-05/0.1135, allocations: 43.77 kB / 329.1 MB, free: 2.34 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.1135, allocations: 4 kB / 329.1 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.1135, allocations: 8 kB / 329.1 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.1136, allocations: 11.88 kB / 329.2 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.036e-05/0.1136, allocations: 47.67 kB / 329.2 MB, free: 2.27 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.1138, allocations: 91.84 kB / 329.3 MB, free: 2.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1138, allocations: 0 / 329.3 MB, free: 2.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1138, allocations: 0 / 329.3 MB, free: 2.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.1138, allocations: 0 / 329.3 MB, free: 2.18 MB / 270.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.0006188/0.1144, allocations: 431 kB / 329.7 MB, free: 1.711 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1145, allocations: 8.031 kB / 329.7 MB, free: 1.703 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.1145, allocations: 16.75 kB / 329.7 MB, free: 1.688 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.1148, allocations: 208.6 kB / 329.9 MB, free: 1.445 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1148, allocations: 12.36 kB / 330 MB, free: 1.434 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.1148, allocations: 8.125 kB / 330 MB, free: 1.426 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.1151, allocations: 132.2 kB / 330.1 MB, free: 1.281 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.1152, allocations: 7.938 kB / 330.1 MB, free: 1.273 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1152, allocations: 0 / 330.1 MB, free: 1.273 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1152, allocations: 4 kB / 330.1 MB, free: 1.27 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.1154, allocations: 71.8 kB / 330.2 MB, free: 1.199 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007661/0.1162, allocations: 0.5477 MB / 330.7 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.1165, allocations: 134.4 kB / 330.8 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.1167, allocations: 56.81 kB / 330.9 MB, free: 404 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.1167, allocations: 0 / 330.9 MB, free: 404 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.1167, allocations: 34.56 kB / 330.9 MB, free: 360 kB / 270.1 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.1167, allocations: 0 / 330.9 MB, free: 360 kB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001156/0.1179, allocations: 0.5135 MB / 331.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.1179, allocations: 55.41 kB / 331.5 MB, free: 15.72 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.1181, allocations: 154.2 kB / 331.7 MB, free: 15.56 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1181, allocations: 25.7 kB / 331.7 MB, free: 15.53 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.1182, allocations: 115.9 kB / 331.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.1183, allocations: 47.34 kB / 331.8 MB, free: 15.36 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.1183, allocations: 33.7 kB / 331.9 MB, free: 15.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1184, allocations: 322.8 kB / 332.2 MB, free: 15 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.1186, allocations: 51.95 kB / 332.2 MB, free: 14.95 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.1187, allocations: 90.61 kB / 332.3 MB, free: 14.85 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.1191, allocations: 135.3 kB / 332.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1191, allocations: 0 / 332.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000364/0.1194, allocations: 181.4 kB / 332.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1195, allocations: 4 kB / 332.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1195, allocations: 7.938 kB / 332.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1195, allocations: 0.9375 kB / 332.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1197, allocations: 31.98 kB / 332.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.1197, allocations: 11.92 kB / 332.7 MB, free: 14.47 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.1198, allocations: 15.98 kB / 332.7 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1198, allocations: 4 kB / 332.7 MB, free: 14.45 MB / 286.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.0001018/0.1199, allocations: 121.9 kB / 332.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.1199, allocations: 7.906 kB / 332.8 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.12, allocations: 16.66 kB / 332.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.12, allocations: 0 / 332.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.12, allocations: 0 / 332.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.12, allocations: 11.92 kB / 332.9 MB, free: 14.28 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007375/0.1207, allocations: 0.492 MB / 333.4 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1208, allocations: 0 / 333.4 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.1209, allocations: 35.92 kB / 333.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1209, allocations: 64 / 333.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1209, allocations: 4 kB / 333.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.121, allocations: 7.984 kB / 333.4 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.121, allocations: 4 kB / 333.4 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005564/0.1215, allocations: 316.9 kB / 333.7 MB, free: 13.34 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.1216, allocations: 88.92 kB / 333.8 MB, free: 13.24 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.1216, allocations: 8 kB / 333.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1217, allocations: 8.031 kB / 333.8 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.1218, allocations: 11.98 kB / 333.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.1218, allocations: 4 kB / 333.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.053e-05/0.1219, allocations: 116.1 kB / 334 MB, free: 13.09 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1219, allocations: 3.938 kB / 334 MB, free: 13.09 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1222, allocations: 24 kB / 334 MB, free: 13.07 MB / 286.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.0001297/0.1223, allocations: 103.1 kB / 334.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.1227, allocations: 136 kB / 334.2 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1227, allocations: 0 / 334.2 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.1229, allocations: 67.89 kB / 334.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.1234, allocations: 39.92 kB / 334.3 MB, free: 12.71 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006994/0.1241, allocations: 359.2 kB / 334.7 MB, free: 12.33 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1244, allocations: 0.7164 MB / 335.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.1245, allocations: 13.42 kB / 335.4 MB, free: 11.58 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.1245, allocations: 15.44 kB / 335.4 MB, free: 11.56 MB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1245, allocations: 0 / 335.4 MB, free: 11.56 MB / 286.1 MB Notification: Performance of Templates: time 0.00449/0.129, allocations: 1.506 MB / 336.9 MB, free: 10.06 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.makefile (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches