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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001868/0.001868, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002373/0.002373, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 230.4 MB / 254 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003206/0.003206, allocations: 63.91 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1113, allocations: 53.38 MB / 426.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003035/0.1144, allocations: 1.689 MB / 428 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009923/0.1154, allocations: 0.5182 MB / 428.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1155, allocations: 4 kB / 428.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.1156, allocations: 15.8 kB / 428.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.536e-05/0.1157, allocations: 27.8 kB / 428.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.1158, allocations: 43.88 kB / 428.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.116, allocations: 115.6 kB / 428.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1161, allocations: 21.11 kB / 428.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/0.1162, allocations: 51.72 kB / 428.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.693e-05/0.1163, allocations: 47.7 kB / 428.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.1163, allocations: 8 kB / 428.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.668e-05/0.1163, allocations: 8 kB / 428.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/0.1164, allocations: 15.94 kB / 428.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.1164, allocations: 47.67 kB / 429 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.1166, allocations: 99.48 kB / 429.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1166, allocations: 3.938 kB / 429.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1166, allocations: 0 / 429.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1166, allocations: 0 / 429.1 MB, free: 1.922 MB / 350.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.0006009/0.1172, allocations: 430.9 kB / 429.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1172, allocations: 12.03 kB / 429.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.1173, allocations: 34.75 kB / 429.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.1173, allocations: 16.84 kB / 429.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.1176, allocations: 220.7 kB / 429.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1176, allocations: 16.31 kB / 429.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.1177, allocations: 19.89 kB / 429.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.118, allocations: 128.1 kB / 429.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.118, allocations: 0 / 429.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.118, allocations: 4 kB / 429.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.118, allocations: 4 kB / 429.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.1182, allocations: 63.95 kB / 430 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007168/0.1189, allocations: 0.5437 MB / 430.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.1192, allocations: 134.5 kB / 430.7 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.1194, allocations: 52.81 kB / 430.7 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.1194, allocations: 4 kB / 430.7 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.1194, allocations: 38.75 kB / 430.8 MB, free: 36 kB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.1194, allocations: 0 / 430.8 MB, free: 36 kB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001172/0.1206, allocations: 0.5096 MB / 431.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.1206, allocations: 56.34 kB / 431.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.1208, allocations: 146.2 kB / 431.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.1208, allocations: 29.7 kB / 431.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.1209, allocations: 119.9 kB / 431.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.121, allocations: 39.64 kB / 431.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.121, allocations: 45.64 kB / 431.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1212, allocations: 326.8 kB / 432 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.1213, allocations: 52.02 kB / 432.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.1215, allocations: 79.39 kB / 432.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.1218, allocations: 138.2 kB / 432.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1218, allocations: 3.938 kB / 432.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004013/0.1222, allocations: 181.5 kB / 432.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1222, allocations: 7.938 kB / 432.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1222, allocations: 0 / 432.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1222, allocations: 4 kB / 432.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.1224, allocations: 39.91 kB / 432.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.1224, allocations: 0 / 432.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.467e-05/0.1225, allocations: 20.08 kB / 432.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.1225, allocations: 8 kB / 432.5 MB, free: 14.13 MB / 366.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.0001095/0.1226, allocations: 121.8 kB / 432.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.1227, allocations: 15.84 kB / 432.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.1227, allocations: 12.72 kB / 432.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1227, allocations: 0 / 432.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1227, allocations: 0 / 432.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1227, allocations: 7.922 kB / 432.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008225/0.1235, allocations: 500 kB / 433.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1235, allocations: 0 / 433.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.1237, allocations: 36.05 kB / 433.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1237, allocations: 4 kB / 433.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1237, allocations: 0 / 433.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.1237, allocations: 3.984 kB / 433.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1237, allocations: 4 kB / 433.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.1243, allocations: 325.4 kB / 433.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.1244, allocations: 89.02 kB / 433.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.1244, allocations: 0 / 433.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1245, allocations: 16.03 kB / 433.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.1246, allocations: 11.98 kB / 433.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1246, allocations: 8 kB / 433.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1247, allocations: 115.9 kB / 433.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1247, allocations: 0 / 433.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.1249, allocations: 23.94 kB / 433.8 MB, free: 12.75 MB / 366.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.0008867/0.1258, allocations: 0.8507 MB / 434.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003879/0.1262, allocations: 123.9 kB / 434.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1262, allocations: 0 / 434.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.1264, allocations: 63.89 kB / 434.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.1268, allocations: 36.88 kB / 434.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.1295, allocations: 1.932 MB / 436.8 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.1298, allocations: 0.7202 MB / 437.5 MB, free: 8.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.134e-05/0.1299, allocations: 17.41 kB / 437.5 MB, free: 8.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.364e-05/0.13, allocations: 39.42 kB / 437.6 MB, free: 8.797 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.13, allocations: 0 / 437.6 MB, free: 8.797 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.1586, allocations: 3.355 MB / 440.9 MB, free: 5.516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/7.914, allocations: 0 / 440.9 MB, free: 5.516 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable limit_a.y in file Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.csv. Warning: Get data of variable limit_a.y from file Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.csv failed! Error: Could not read variable limit_v.y in file Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.csv. Warning: Get data of variable limit_v.y from file Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.460031387978233]