Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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.001804/0.001804, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 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.001926/0.001926, allocations: 212 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.FilterWithDifferentiation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 47.92 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2354, allocations: 53.36 MB / 431.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002903/0.2383, allocations: 1.64 MB / 432.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005355/0.2437, allocations: 3.257 MB / 436 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.2438, allocations: 7.938 kB / 436 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.2441, allocations: 59.69 kB / 436.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.2442, allocations: 15.88 kB / 436.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003588/0.2478, allocations: 1.465 MB / 437.6 MB, free: 388 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.2481, allocations: 147.6 kB / 437.7 MB, free: 240 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2482, allocations: 13.31 kB / 437.7 MB, free: 224 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.906e-05/0.2483, allocations: 59.83 kB / 437.8 MB, free: 164 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.2484, allocations: 59.7 kB / 437.8 MB, free: 104 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.2484, allocations: 8 kB / 437.8 MB, free: 96 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.2503, allocations: 1.444 MB / 439.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.49e-05/0.2504, allocations: 39.84 kB / 439.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.2505, allocations: 51.67 kB / 439.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.2518, allocations: 1.216 MB / 440.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2518, allocations: 0 / 440.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2518, allocations: 0 / 440.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.2518, allocations: 0 / 440.6 MB, free: 13.34 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.0009949/0.2528, allocations: 0.5013 MB / 441.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2528, allocations: 12.03 kB / 441.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.2529, allocations: 38.73 kB / 441.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.2529, allocations: 20.78 kB / 441.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.2532, allocations: 155.1 kB / 441.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.2532, allocations: 8.375 kB / 441.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.2532, allocations: 12.12 kB / 441.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.2535, allocations: 129 kB / 441.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2535, allocations: 0 / 441.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.2535, allocations: 4 kB / 441.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2535, allocations: 0 / 441.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.2536, allocations: 66.98 kB / 441.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005989/0.2542, allocations: 355.6 kB / 441.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.2546, allocations: 118.6 kB / 442 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.2547, allocations: 48.95 kB / 442 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.2547, allocations: 0 / 442 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.2547, allocations: 34.56 kB / 442.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.2547, allocations: 0 / 442.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002154/0.2569, allocations: 0.9971 MB / 443.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/0.257, allocations: 132.5 kB / 443.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.2571, allocations: 178.2 kB / 443.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.2572, allocations: 25.7 kB / 443.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.2572, allocations: 116.5 kB / 443.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.2573, allocations: 47.97 kB / 443.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.2574, allocations: 49.7 kB / 443.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2575, allocations: 322.8 kB / 443.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.2577, allocations: 99.94 kB / 444 MB, free: 9.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.2579, allocations: 143.2 kB / 444.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.2582, allocations: 204.7 kB / 444.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2582, allocations: 0 / 444.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005557/0.2588, allocations: 310.1 kB / 444.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.2588, allocations: 4 kB / 444.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.2588, allocations: 7.984 kB / 444.7 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.259, allocations: 40.83 kB / 444.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.2591, allocations: 31.92 kB / 444.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.2605, allocations: 1.42 MB / 446.2 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.912e-05/0.2606, allocations: 8 kB / 446.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.2606, allocations: 8.156 kB / 446.2 MB, free: 7.324 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.0001362/0.2607, allocations: 134 kB / 446.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.2608, allocations: 15.89 kB / 446.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.762e-05/0.2608, allocations: 25.47 kB / 446.4 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2608, allocations: 0 / 446.4 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2608, allocations: 7.938 kB / 446.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2608, allocations: 0 / 446.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.2611, allocations: 216.6 kB / 446.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2611, allocations: 4 kB / 446.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.2614, allocations: 51.91 kB / 446.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2614, allocations: 0 / 446.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.2614, allocations: 8 kB / 446.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2614, allocations: 4 kB / 446.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.2614, allocations: 7.922 kB / 446.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005474/0.262, allocations: 399.2 kB / 447 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.262, allocations: 19.94 kB / 447.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.262, allocations: 8 kB / 447.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.2621, allocations: 4 kB / 447.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.2622, allocations: 15.92 kB / 447.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.2622, allocations: 3.938 kB / 447.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.2623, allocations: 128.2 kB / 447.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2623, allocations: 0 / 447.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001378/0.2637, allocations: 0.5155 MB / 447.7 MB, free: 5.711 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.001732/0.2654, allocations: 1.375 MB / 449.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006906/0.2661, allocations: 373 kB / 449.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2661, allocations: 0 / 449.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.2663, allocations: 95.81 kB / 449.6 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.2666, allocations: 34.48 kB / 449.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.2698, allocations: 2.461 MB / 452.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.2701, allocations: 0.7358 MB / 452.8 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.989e-05/0.2702, allocations: 33.23 kB / 452.8 MB, free: 464 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.2703, allocations: 47.42 kB / 452.9 MB, free: 416 kB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2703, allocations: 0 / 452.9 MB, free: 416 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05653/0.3268, allocations: 10.01 MB / 462.9 MB, free: 6.531 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.76, allocations: 8.109 kB / 462.9 MB, free: 6.527 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[1] from file Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[2] in file Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[2] from file Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[3] in file Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[3] from file Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.34436062000168]