Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001786/0.001786, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.002214/0.002214, allocations: 209.4 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.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_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 59.05 kB / 347.2 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2547, allocations: 49.15 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003049/0.2577, allocations: 1.764 MB / 398.1 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005005/0.2627, allocations: 3.322 MB / 401.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.2629, allocations: 15.31 kB / 401.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.2633, allocations: 135.5 kB / 401.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.2634, allocations: 41.28 kB / 401.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004621/0.268, allocations: 1.767 MB / 403.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006123/0.2686, allocations: 314 kB / 403.7 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.2688, allocations: 20.94 kB / 403.7 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.269, allocations: 111.6 kB / 403.8 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.2692, allocations: 110.5 kB / 403.9 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.2692, allocations: 12.34 kB / 403.9 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000418/0.2696, allocations: 178.8 kB / 404.1 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.2698, allocations: 68.59 kB / 404.2 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.2699, allocations: 86.58 kB / 404.2 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005553/0.2704, allocations: 345 kB / 404.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.2704, allocations: 0 / 404.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2704, allocations: 1.469 kB / 404.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.2704, allocations: 3.938 kB / 404.6 MB, free: 4.527 MB / 318.1 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.000878/0.2713, allocations: 0.5048 MB / 405.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.2714, allocations: 13.58 kB / 405.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.384e-05/0.2714, allocations: 45.73 kB / 405.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.2715, allocations: 35.88 kB / 405.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004764/0.272, allocations: 235.3 kB / 405.4 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.272, allocations: 13.81 kB / 405.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.272, allocations: 14.52 kB / 405.4 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.2724, allocations: 431.1 kB / 405.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2724, allocations: 0 / 405.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.2725, allocations: 5.375 kB / 405.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2725, allocations: 2.75 kB / 405.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.2727, allocations: 97.75 kB / 406 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007478/0.2734, allocations: 426.8 kB / 406.4 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.2737, allocations: 170.7 kB / 406.6 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.2738, allocations: 56.3 kB / 406.6 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.2738, allocations: 6.156 kB / 406.6 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2738, allocations: 33.38 kB / 406.6 MB, free: 2.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.2738, allocations: 1.094 kB / 406.6 MB, free: 2.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004368/0.2743, allocations: 226.5 kB / 406.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.2743, allocations: 291.7 kB / 407.2 MB, free: 2.484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.2746, allocations: 287.1 kB / 407.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.2746, allocations: 31.64 kB / 407.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.2747, allocations: 155.6 kB / 407.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.2748, allocations: 53.45 kB / 407.7 MB, free: 2.113 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-05/0.2749, allocations: 59.78 kB / 407.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.2749, allocations: 339.5 kB / 408.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.2751, allocations: 101.5 kB / 408.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.2754, allocations: 411 kB / 408.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.2757, allocations: 213.4 kB / 408.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2757, allocations: 1.625 kB / 408.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005066/0.2762, allocations: 301.9 kB / 409.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2762, allocations: 4.156 kB / 409.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.2763, allocations: 6.125 kB / 409.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2763, allocations: 1.406 kB / 409.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.2766, allocations: 54.47 kB / 409.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.2766, allocations: 8.75 kB / 409.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.2767, allocations: 24.92 kB / 409.2 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.2767, allocations: 11.56 kB / 409.2 MB, free: 1.109 MB / 318.1 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.0001102/0.2768, allocations: 149.6 kB / 409.3 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.2769, allocations: 28.94 kB / 409.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.2769, allocations: 28.02 kB / 409.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.2769, allocations: 1.375 kB / 409.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2769, allocations: 4.453 kB / 409.4 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2769, allocations: 0.6562 kB / 409.4 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.2771, allocations: 220.9 kB / 409.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2771, allocations: 5.828 kB / 409.6 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.2773, allocations: 22.97 kB / 409.6 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2773, allocations: 0 / 409.6 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.2773, allocations: 12.22 kB / 409.6 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2773, allocations: 1.312 kB / 409.6 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2773, allocations: 3.938 kB / 409.6 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.2777, allocations: 342.9 kB / 410 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.2778, allocations: 24.34 kB / 410 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.2778, allocations: 8.438 kB / 410 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.2779, allocations: 11.23 kB / 410 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.278, allocations: 16.56 kB / 410 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.278, allocations: 11.42 kB / 410 MB, free: 492 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.2781, allocations: 193.4 kB / 410.2 MB, free: 380 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2781, allocations: 0 / 410.2 MB, free: 380 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003842/0.2785, allocations: 90.22 kB / 410.3 MB, free: 356 kB / 318.1 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.000825/0.2793, allocations: 0.9007 MB / 411.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004473/0.2798, allocations: 271.7 kB / 411.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2798, allocations: 1.344 kB / 411.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.2799, allocations: 62.81 kB / 411.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.2804, allocations: 71.64 kB / 411.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.2839, allocations: 2.786 MB / 414.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.284, allocations: 162.2 kB / 414.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.2842, allocations: 50.31 kB / 414.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.2843, allocations: 76.73 kB / 414.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2843, allocations: 5 kB / 414.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03758/0.3219, allocations: 7.414 MB / 422.1 MB, free: 8.672 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.65, allocations: 3.859 kB / 422.1 MB, free: 8.668 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv. Warning: Get data of variable filter_fac5.x[2] from file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.20047319214791]