Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008777/0.0008777, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003931/0.003931, allocations: 165.7 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8222/0.8222, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.718e-05, allocations: 6.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001838/0.001855, allocations: 1.57 MB / 300 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1376/0.1395, allocations: 2.974 MB / 303 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.1396, allocations: 6.219 kB / 303 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.14, allocations: 60.02 kB / 303 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.315e-05/0.14, allocations: 19.39 kB / 303.1 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.1427, allocations: 1.488 MB / 304.5 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.1429, allocations: 156 kB / 304.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.143, allocations: 19.52 kB / 304.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1431, allocations: 72.25 kB / 304.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.1432, allocations: 41.52 kB / 304.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.1432, allocations: 7.594 kB / 304.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.1447, allocations: 1.425 MB / 306.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.1448, allocations: 37.2 kB / 306.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.1449, allocations: 35.78 kB / 306.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.1463, allocations: 1.445 MB / 307.8 MB, free: 12.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1463, allocations: 5.766 kB / 307.8 MB, free: 12.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1463, allocations: 0 / 307.8 MB, free: 12.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1463, allocations: 1.688 kB / 307.8 MB, free: 12.28 MB / 282.7 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.000729/0.1471, allocations: 496.6 kB / 308.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1471, allocations: 14.19 kB / 308.3 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.79e-05/0.1471, allocations: 38.94 kB / 308.3 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.1472, allocations: 20.19 kB / 308.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.1473, allocations: 157.4 kB / 308.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1474, allocations: 11.97 kB / 308.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.1474, allocations: 8.891 kB / 308.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.1476, allocations: 207.3 kB / 308.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1476, allocations: 3.953 kB / 308.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1476, allocations: 5.375 kB / 308.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1476, allocations: 1.719 kB / 308.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.238e-05/0.1477, allocations: 54.58 kB / 308.8 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.1481, allocations: 335 kB / 309.1 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.1483, allocations: 127 kB / 309.2 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.1484, allocations: 44.64 kB / 309.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.1484, allocations: 1.812 kB / 309.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.1484, allocations: 32.03 kB / 309.3 MB, free: 11.13 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.734e-06/0.1484, allocations: 1.078 kB / 309.3 MB, free: 11.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.00141/0.1498, allocations: 0.9981 MB / 310.3 MB, free: 10.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.1499, allocations: 134.7 kB / 310.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.15, allocations: 171.5 kB / 310.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.15, allocations: 37.14 kB / 310.6 MB, free: 10.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.15, allocations: 105.4 kB / 310.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.1501, allocations: 63.14 kB / 310.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.1501, allocations: 43.95 kB / 310.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.784e-05/0.1502, allocations: 327.7 kB / 311.2 MB, free: 9.734 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.1503, allocations: 97.81 kB / 311.3 MB, free: 9.703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1504, allocations: 207.8 kB / 311.5 MB, free: 9.547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.1506, allocations: 200.8 kB / 311.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1506, allocations: 0 / 311.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003367/0.1509, allocations: 305.8 kB / 312 MB, free: 9.332 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1509, allocations: 6.297 kB / 312 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.151, allocations: 9.312 kB / 312 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/0.1511, allocations: 45.62 kB / 312 MB, free: 9.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.1512, allocations: 33.47 kB / 312.1 MB, free: 9.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006386/0.1518, allocations: 1.406 MB / 313.5 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.645e-05/0.1519, allocations: 10 kB / 313.5 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.1519, allocations: 9.172 kB / 313.5 MB, free: 7.996 MB / 282.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 (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 6.674e-05/0.1519, allocations: 137.9 kB / 313.6 MB, free: 7.867 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.152, allocations: 14.56 kB / 313.6 MB, free: 7.859 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.152, allocations: 25.67 kB / 313.7 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.152, allocations: 2.219 kB / 313.7 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.62e-07/0.152, allocations: 0 / 313.7 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.152, allocations: 2.5 kB / 313.7 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.1521, allocations: 205.7 kB / 313.9 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1521, allocations: 0.75 kB / 313.9 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.1523, allocations: 56.58 kB / 313.9 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1523, allocations: 4.719 kB / 313.9 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1523, allocations: 2.516 kB / 313.9 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1523, allocations: 1 kB / 313.9 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1523, allocations: 0 / 313.9 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.1526, allocations: 418.2 kB / 314.3 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.1526, allocations: 11.88 kB / 314.3 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.1526, allocations: 1.828 kB / 314.3 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.623e-05/0.1527, allocations: 9.984 kB / 314.4 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.1527, allocations: 22.88 kB / 314.4 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1527, allocations: 3.094 kB / 314.4 MB, free: 7.383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.485e-05/0.1528, allocations: 131.8 kB / 314.5 MB, free: 7.289 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1528, allocations: 0 / 314.5 MB, free: 7.289 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001323/0.1541, allocations: 0.514 MB / 315 MB, free: 7.277 MB / 282.7 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.001206/0.1553, allocations: 1.508 MB / 316.5 MB, free: 6.492 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004086/0.1557, allocations: 381.2 kB / 316.9 MB, free: 6.254 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1557, allocations: 0 / 316.9 MB, free: 6.254 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.1558, allocations: 86.83 kB / 317 MB, free: 6.227 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.156, allocations: 30.55 kB / 317 MB, free: 6.215 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.1579, allocations: 2.457 MB / 319.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.944e-05/0.1579, allocations: 120.8 kB / 319.6 MB, free: 4.516 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.767e-05/0.158, allocations: 32.19 kB / 319.6 MB, free: 4.512 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.1581, allocations: 45.95 kB / 319.7 MB, free: 4.477 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1581, allocations: 0 / 319.7 MB, free: 4.477 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.181, allocations: 10.7 MB / 330.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.351/7.532, allocations: 3.938 kB / 330.4 MB, free: 13.81 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[1] from file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[2] in file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[2] from file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[3] in file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[3] from file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.209422444924712]