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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 120.8 kB / 17.74 MB, free: 5.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 182.9 kB / 20.67 MB, free: 2.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 222.9 MB / 246.4 MB, free: 4.18 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 51.92 kB / 357.5 MB, free: 8.809 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1188, allocations: 49.44 MB / 406.9 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003055/0.1219, allocations: 1.678 MB / 408.6 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009345/0.1229, allocations: 490.7 kB / 409.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.123, allocations: 8 kB / 409.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.1232, allocations: 15.8 kB / 409.1 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.473e-05/0.1233, allocations: 23.78 kB / 409.1 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.1235, allocations: 47.95 kB / 409.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.1237, allocations: 119.5 kB / 409.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.1238, allocations: 29.33 kB / 409.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.237e-05/0.1239, allocations: 43.8 kB / 409.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.124, allocations: 51.7 kB / 409.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.1241, allocations: 8 kB / 409.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.146e-05/0.1241, allocations: 8 kB / 409.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.1241, allocations: 11.94 kB / 409.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.236e-05/0.1242, allocations: 51.66 kB / 409.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.1244, allocations: 103.4 kB / 409.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1244, allocations: 0 / 409.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1244, allocations: 0 / 409.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1244, allocations: 0 / 409.6 MB, free: 4.652 MB / 334.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.0006707/0.1251, allocations: 430.9 kB / 410 MB, free: 4.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1251, allocations: 8.031 kB / 410 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.1252, allocations: 38.75 kB / 410.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.1252, allocations: 16.84 kB / 410.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.1256, allocations: 225.5 kB / 410.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1256, allocations: 8 kB / 410.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.1256, allocations: 12 kB / 410.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.126, allocations: 137.1 kB / 410.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.126, allocations: 4 kB / 410.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.126, allocations: 0 / 410.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.126, allocations: 0 / 410.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.1262, allocations: 67.95 kB / 410.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007547/0.127, allocations: 0.5438 MB / 411.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.1274, allocations: 138.4 kB / 411.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.1275, allocations: 52.81 kB / 411.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.1275, allocations: 0 / 411.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.1276, allocations: 46.5 kB / 411.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.61e-07/0.1276, allocations: 0 / 411.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001187/0.1288, allocations: 0.5097 MB / 411.8 MB, free: 2.199 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.1289, allocations: 55.39 kB / 411.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.129, allocations: 148.7 kB / 412 MB, free: 1.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.129, allocations: 25.7 kB / 412 MB, free: 1.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.005e-05/0.1291, allocations: 120 kB / 412.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.1292, allocations: 39.64 kB / 412.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.1292, allocations: 37.7 kB / 412.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1294, allocations: 322.8 kB / 412.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.1296, allocations: 55.89 kB / 412.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.1298, allocations: 83.45 kB / 412.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.1301, allocations: 131.3 kB / 412.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1301, allocations: 0.9375 kB / 412.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003988/0.1305, allocations: 189.4 kB / 413 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1305, allocations: 8 kB / 413 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1305, allocations: 0 / 413 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.1306, allocations: 4 kB / 413 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.1307, allocations: 43.91 kB / 413 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1308, allocations: 0 / 413 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.219e-05/0.1308, allocations: 15.98 kB / 413.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1309, allocations: 8.094 kB / 413.1 MB, free: 0.8633 MB / 334.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.0001079/0.131, allocations: 117.8 kB / 413.2 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.131, allocations: 19.83 kB / 413.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.1311, allocations: 8.719 kB / 413.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1311, allocations: 7.938 kB / 413.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1311, allocations: 0 / 413.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1311, allocations: 3.984 kB / 413.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008406/0.1319, allocations: 0.4998 MB / 413.7 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.132, allocations: 0 / 413.7 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.1321, allocations: 31.92 kB / 413.7 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.1321, allocations: 4.047 kB / 413.8 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1322, allocations: 8 kB / 413.8 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1322, allocations: 0 / 413.8 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1322, allocations: 0 / 413.8 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006216/0.1328, allocations: 320.9 kB / 414.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.1329, allocations: 85.06 kB / 414.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.1329, allocations: 8 kB / 414.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.133, allocations: 15.97 kB / 414.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.1331, allocations: 15.92 kB / 414.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.1331, allocations: 4 kB / 414.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1332, allocations: 120.9 kB / 414.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1332, allocations: 0 / 414.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1335, allocations: 20 kB / 414.3 MB, free: 15.47 MB / 350.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.0009544/0.1345, allocations: 0.8506 MB / 415.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004082/0.1349, allocations: 124 kB / 415.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.1349, allocations: 0 / 415.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.1351, allocations: 71.83 kB / 415.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.1355, allocations: 54.3 kB / 415.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.1384, allocations: 1.934 MB / 417.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.1388, allocations: 0.7123 MB / 418.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.704e-05/0.1389, allocations: 13.42 kB / 418.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.136e-05/0.139, allocations: 43.42 kB / 418.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.139, allocations: 0 / 418.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.168, allocations: 3.36 MB / 421.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.01, allocations: 19.83 kB / 421.5 MB, free: 8.223 MB / 350.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.csv. Warning: Get data of variable limit_a.y from file Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.csv failed! Error: Could not read variable limit_v.y in file Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.csv. Warning: Get data of variable limit_v.y from file Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.778381882002577]