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.001674/0.001674, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001387/0.001387, allocations: 214.7 kB / 23.74 MB, free: 4.66 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.46/1.46, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.001887/0.001887, allocations: 63.89 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.265, allocations: 53.42 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002899/0.2679, allocations: 1.695 MB / 432.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009785/0.2689, allocations: 0.5298 MB / 433.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.039e-05/0.269, allocations: 4 kB / 433.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.2691, allocations: 15.8 kB / 433.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.134e-05/0.2691, allocations: 23.8 kB / 433.5 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.2693, allocations: 51.88 kB / 433.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.2695, allocations: 111.6 kB / 433.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.2696, allocations: 21.31 kB / 433.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.822e-05/0.2697, allocations: 47.83 kB / 433.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.195e-05/0.2698, allocations: 51.59 kB / 433.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.2698, allocations: 8 kB / 433.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.693e-05/0.2698, allocations: 8 kB / 433.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.2698, allocations: 19.92 kB / 433.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/0.2699, allocations: 43.69 kB / 433.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.27, allocations: 103.8 kB / 433.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.27, allocations: 0 / 433.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.27, allocations: 0 / 433.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.27, allocations: 0 / 433.9 MB, free: 3.953 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.0005406/0.2706, allocations: 353.8 kB / 434.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2706, allocations: 12.03 kB / 434.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.2707, allocations: 34.75 kB / 434.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.2707, allocations: 16.84 kB / 434.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.271, allocations: 162.2 kB / 434.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.271, allocations: 12.38 kB / 434.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.271, allocations: 19.89 kB / 434.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.2713, allocations: 130.9 kB / 434.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2713, allocations: 0 / 434.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.2714, allocations: 4 kB / 434.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2714, allocations: 4 kB / 434.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.2716, allocations: 67.94 kB / 434.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.2723, allocations: 0.5155 MB / 435.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.2726, allocations: 134.4 kB / 435.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.2728, allocations: 56.81 kB / 435.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.2728, allocations: 4 kB / 435.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.2728, allocations: 34.56 kB / 435.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.2728, allocations: 0 / 435.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001124/0.2739, allocations: 449.6 kB / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.274, allocations: 55.41 kB / 435.9 MB, free: 1.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.2741, allocations: 149.3 kB / 436.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.2741, allocations: 33.89 kB / 436.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/0.2742, allocations: 108 kB / 436.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.2743, allocations: 47.52 kB / 436.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.2743, allocations: 37.7 kB / 436.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2745, allocations: 326.8 kB / 436.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.2746, allocations: 55.89 kB / 436.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.2748, allocations: 83.45 kB / 436.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.2751, allocations: 138.9 kB / 436.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2751, allocations: 0 / 436.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000373/0.2754, allocations: 177.5 kB / 437.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2755, allocations: 11.92 kB / 437.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2755, allocations: 0 / 437.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2755, allocations: 4 kB / 437.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.2757, allocations: 35.92 kB / 437.1 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.2757, allocations: 0 / 437.1 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.211e-05/0.2757, allocations: 20.08 kB / 437.1 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.2758, allocations: 7.984 kB / 437.2 MB, free: 472 kB / 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 9.788e-05/0.2759, allocations: 121.8 kB / 437.3 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.2759, allocations: 15.84 kB / 437.3 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.2759, allocations: 16.72 kB / 437.3 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2759, allocations: 0 / 437.3 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2759, allocations: 0 / 437.3 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2759, allocations: 3.938 kB / 437.3 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008027/0.2767, allocations: 471 kB / 437.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2767, allocations: 0 / 437.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.2769, allocations: 35.91 kB / 437.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2769, allocations: 8.062 kB / 437.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2769, allocations: 0 / 437.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2769, allocations: 0 / 437.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2769, allocations: 4 kB / 437.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005671/0.2775, allocations: 320.9 kB / 438.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.2775, allocations: 15.94 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.2775, allocations: 4 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.2776, allocations: 11.98 kB / 438.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.2777, allocations: 11.98 kB / 438.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.2777, allocations: 11.94 kB / 438.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.85e-05/0.2778, allocations: 120.2 kB / 438.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2778, allocations: 3.938 kB / 438.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.2781, allocations: 23.94 kB / 438.3 MB, free: 15.2 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.000838/0.2789, allocations: 0.8425 MB / 439.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003584/0.2792, allocations: 120 kB / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2792, allocations: 0 / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.2794, allocations: 67.89 kB / 439.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.2798, allocations: 36.09 kB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.2823, allocations: 1.94 MB / 441.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.2826, allocations: 0.7162 MB / 442 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.165e-05/0.2827, allocations: 17.41 kB / 442.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.806e-05/0.2827, allocations: 39.42 kB / 442.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2827, allocations: 0 / 442.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.3128, allocations: 3.545 MB / 445.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.95, allocations: 4 kB / 445.6 MB, free: 7.816 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.408483348997834]