Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.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.001292/0.001292, allocations: 114 kB / 20.44 MB, free: 1.469 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.001421/0.001421, allocations: 213.4 kB / 23.74 MB, free: 4.695 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.404/1.404, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 63.89 kB / 377.8 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2606, allocations: 53.4 MB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002847/0.2634, allocations: 1.64 MB / 432.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00516/0.2686, allocations: 3.257 MB / 436.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.754e-05/0.2687, allocations: 7.938 kB / 436.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.269, allocations: 59.69 kB / 436.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.311e-05/0.2691, allocations: 15.88 kB / 436.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.2725, allocations: 1.476 MB / 437.6 MB, free: 248 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.2727, allocations: 147.6 kB / 437.8 MB, free: 100 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.89e-05/0.2728, allocations: 9.312 kB / 437.8 MB, free: 88 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.535e-05/0.2729, allocations: 63.81 kB / 437.8 MB, free: 24 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.2731, allocations: 59.78 kB / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.2731, allocations: 8 kB / 437.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.2751, allocations: 1.444 MB / 439.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.256e-05/0.2751, allocations: 35.86 kB / 439.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.2752, allocations: 51.67 kB / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.2765, allocations: 1.221 MB / 440.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2765, allocations: 0 / 440.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2765, allocations: 0 / 440.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.2765, allocations: 0 / 440.7 MB, free: 13.2 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009995/0.2775, allocations: 0.4935 MB / 441.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2775, allocations: 12.03 kB / 441.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.618e-05/0.2776, allocations: 42.73 kB / 441.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.2777, allocations: 12.84 kB / 441.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.2779, allocations: 151 kB / 441.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.2779, allocations: 8.375 kB / 441.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.278, allocations: 12.12 kB / 441.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.2782, allocations: 128 kB / 441.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.2783, allocations: 4 kB / 441.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.2783, allocations: 4 kB / 441.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.2783, allocations: 0 / 441.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.2784, allocations: 63.83 kB / 441.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006278/0.2791, allocations: 355.6 kB / 441.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.2795, allocations: 126.5 kB / 442 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.2796, allocations: 40.77 kB / 442.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.2797, allocations: 4 kB / 442.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.2797, allocations: 30.56 kB / 442.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.2797, allocations: 4 kB / 442.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002589/0.2823, allocations: 0.9887 MB / 443.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.2824, allocations: 132.5 kB / 443.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.2826, allocations: 182.2 kB / 443.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.2826, allocations: 29.7 kB / 443.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.2827, allocations: 112.5 kB / 443.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/0.2828, allocations: 55.58 kB / 443.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.407e-05/0.2828, allocations: 45.7 kB / 443.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.283, allocations: 326.8 kB / 444 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.2832, allocations: 95.95 kB / 444.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.2834, allocations: 147.9 kB / 444.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.2837, allocations: 200.9 kB / 444.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.2837, allocations: 1.219 kB / 444.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005468/0.2842, allocations: 310.1 kB / 444.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.2843, allocations: 14.59 kB / 444.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.2843, allocations: 3.984 kB / 444.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.2845, allocations: 40.83 kB / 444.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.2846, allocations: 27.98 kB / 444.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.286, allocations: 1.42 MB / 446.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.267e-05/0.2861, allocations: 8.188 kB / 446.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.2861, allocations: 11.98 kB / 446.2 MB, free: 7.191 MB / 350.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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.2863, allocations: 129.4 kB / 446.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.2863, allocations: 19.83 kB / 446.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.2864, allocations: 25.47 kB / 446.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.2864, allocations: 8 kB / 446.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.2864, allocations: 7.875 kB / 446.4 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2864, allocations: 0 / 446.4 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.2867, allocations: 216.6 kB / 446.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2867, allocations: 4 kB / 446.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.287, allocations: 47.97 kB / 446.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.287, allocations: 0 / 446.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.287, allocations: 8 kB / 446.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.287, allocations: 3.984 kB / 446.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.287, allocations: 3.938 kB / 446.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005953/0.2876, allocations: 415.2 kB / 447.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.2876, allocations: 11.91 kB / 447.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.2876, allocations: 4 kB / 447.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.2877, allocations: 8 kB / 447.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.2878, allocations: 11.92 kB / 447.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.2878, allocations: 7.984 kB / 447.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.2879, allocations: 120.2 kB / 447.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2879, allocations: 0 / 447.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001774/0.2897, allocations: 0.5155 MB / 447.8 MB, free: 5.582 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.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 (15): * Single equations (assignments): 15 * 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.001795/0.2915, allocations: 1.379 MB / 449.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007277/0.2922, allocations: 376.6 kB / 449.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2922, allocations: 4 kB / 449.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.2924, allocations: 83.89 kB / 449.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.2927, allocations: 31.92 kB / 449.7 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/0.2959, allocations: 2.457 MB / 452.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.2962, allocations: 0.7396 MB / 452.8 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.461e-05/0.2963, allocations: 29.06 kB / 452.9 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.925e-05/0.2964, allocations: 47.42 kB / 452.9 MB, free: 288 kB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2964, allocations: 0 / 452.9 MB, free: 288 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04357/0.34, allocations: 10.02 MB / 462.9 MB, free: 6.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.7, allocations: 0 / 462.9 MB, free: 6.363 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv --start-time 0 --stop-time 0.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000179856 Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Bessel.x[1] in file Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[1] from file Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[2] in file Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[2] from file Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[3] in file Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[3] from file Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.146131524998054]