Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000948/0.000948, allocations: 170 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9174/0.9174, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.594e-05, allocations: 10.22 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001891/0.001907, allocations: 1.779 MB / 326.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003569/0.005476, allocations: 3.327 MB / 329.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.005582, allocations: 19.81 kB / 329.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.005933, allocations: 143.2 kB / 329.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.574e-05/0.006009, allocations: 35.64 kB / 329.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.008329, allocations: 1.864 MB / 331.7 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.008586, allocations: 311.1 kB / 332 MB, free: 8.465 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.00869, allocations: 20.92 kB / 332 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.008866, allocations: 163.5 kB / 332.2 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.008959, allocations: 87.75 kB / 332.3 MB, free: 8.199 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.008987, allocations: 12 kB / 332.3 MB, free: 8.188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.009183, allocations: 171.6 kB / 332.5 MB, free: 8.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.009269, allocations: 67.75 kB / 332.5 MB, free: 7.953 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.009323, allocations: 63.77 kB / 332.6 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.009637, allocations: 366.7 kB / 333 MB, free: 7.531 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.009639, allocations: 0 / 333 MB, free: 7.531 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.009641, allocations: 4 kB / 333 MB, free: 7.527 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.009647, allocations: 0 / 333 MB, free: 7.527 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00059/0.01024, allocations: 0.5085 MB / 333.5 MB, free: 6.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.01027, allocations: 15.97 kB / 333.5 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.01031, allocations: 38.75 kB / 333.5 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.01035, allocations: 32.75 kB / 333.6 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.01062, allocations: 213.9 kB / 333.8 MB, free: 6.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.01063, allocations: 16.5 kB / 333.8 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.01066, allocations: 24.31 kB / 333.8 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.01093, allocations: 433.6 kB / 334.2 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.01094, allocations: 0 / 334.2 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.01096, allocations: 8 kB / 334.2 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.01096, allocations: 4 kB / 334.2 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.01108, allocations: 82.94 kB / 334.3 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.0116, allocations: 447.6 kB / 334.8 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.01179, allocations: 166.4 kB / 334.9 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.569e-05/0.01186, allocations: 52.83 kB / 335 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.01187, allocations: 4.078 kB / 335 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.01189, allocations: 42.5 kB / 335 MB, free: 5.254 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.01189, allocations: 0 / 335 MB, free: 5.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003049/0.0122, allocations: 220.8 kB / 335.2 MB, free: 5.035 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.187e-05/0.01229, allocations: 286.7 kB / 335.5 MB, free: 4.688 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.01248, allocations: 276.6 kB / 335.8 MB, free: 4.406 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.0125, allocations: 33.7 kB / 335.8 MB, free: 4.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.715e-05/0.01259, allocations: 160.4 kB / 336 MB, free: 4.207 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.01262, allocations: 51.59 kB / 336 MB, free: 4.156 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.01268, allocations: 61.69 kB / 336.1 MB, free: 4.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.01278, allocations: 346.7 kB / 336.4 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.0129, allocations: 95.94 kB / 336.5 MB, free: 3.648 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.01311, allocations: 412.4 kB / 336.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.01333, allocations: 209.5 kB / 337.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01333, allocations: 0 / 337.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003105/0.01364, allocations: 309.3 kB / 337.4 MB, free: 2.645 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.01366, allocations: 8 kB / 337.4 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.01368, allocations: 3.984 kB / 337.4 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.01369, allocations: 4 kB / 337.4 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.01386, allocations: 47.97 kB / 337.5 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.01387, allocations: 4 kB / 337.5 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.377e-05/0.01393, allocations: 23.77 kB / 337.5 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.01395, allocations: 12 kB / 337.5 MB, free: 2.543 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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.000103/0.01405, allocations: 149.8 kB / 337.7 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.01408, allocations: 35.75 kB / 337.7 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.01412, allocations: 33.89 kB / 337.7 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01412, allocations: 4 kB / 337.7 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.01413, allocations: 0 / 337.7 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.01413, allocations: 0 / 337.7 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.01432, allocations: 224.6 kB / 338 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.01432, allocations: 4 kB / 338 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.936e-05/0.01442, allocations: 27.92 kB / 338 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.01442, allocations: 112 / 338 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.01443, allocations: 7.938 kB / 338 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.01444, allocations: 7.969 kB / 338 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01444, allocations: 4 kB / 338 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.01475, allocations: 331.2 kB / 338.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.01477, allocations: 31.81 kB / 338.4 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.0148, allocations: 4 kB / 338.4 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.456e-05/0.01486, allocations: 11.98 kB / 338.4 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.0149, allocations: 11.98 kB / 338.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.0149, allocations: 0 / 338.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.01503, allocations: 199.1 kB / 338.6 MB, free: 1.414 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01503, allocations: 7.938 kB / 338.6 MB, free: 1.406 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.01526, allocations: 71.88 kB / 338.7 MB, free: 1.336 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.000597/0.01586, allocations: 0.9189 MB / 339.6 MB, free: 392 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.01614, allocations: 268.4 kB / 339.8 MB, free: 108 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01614, allocations: 4 kB / 339.9 MB, free: 104 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.913e-05/0.01621, allocations: 63.89 kB / 339.9 MB, free: 40 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.01651, allocations: 70.84 kB / 340 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.01874, allocations: 2.772 MB / 342.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.01885, allocations: 161.8 kB / 342.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.41e-05/0.01893, allocations: 50.09 kB / 343 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.01902, allocations: 88.47 kB / 343 MB, free: 12.8 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01902, allocations: 0 / 343 MB, free: 12.8 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.03723, allocations: 7.543 MB / 350.6 MB, free: 5.445 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.07, allocations: 0 / 350.6 MB, free: 5.445 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable filter_fac5.x[2] in file Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv. Warning: Get data of variable filter_fac5.x[2] from file Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,filter_fac3.x[1],filter_fac3.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac5.x[1],filter_fac5.x[2] Variables in the result:time,filter_fac3.x[1],filter_fac3.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac5.x[1] [Calling sys.exit(0), Time elapsed: 8.993343212641776]