Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 182.9 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 43.92 kB / 370.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3191, allocations: 52.18 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00479/0.3239, allocations: 1.64 MB / 424.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009724/0.3336, allocations: 3.195 MB / 427.4 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.3338, allocations: 3.938 kB / 427.4 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.3343, allocations: 59.69 kB / 427.5 MB, free: 9.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.3345, allocations: 7.875 kB / 427.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007128/0.3416, allocations: 1.476 MB / 429 MB, free: 8.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000491/0.3421, allocations: 151.6 kB / 429.1 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.3422, allocations: 9.312 kB / 429.1 MB, free: 8.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.3424, allocations: 63.81 kB / 429.2 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.3426, allocations: 51.72 kB / 429.3 MB, free: 7.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.3426, allocations: 8 kB / 429.3 MB, free: 7.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003275/0.3459, allocations: 1.436 MB / 430.7 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.346, allocations: 35.91 kB / 430.7 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.3461, allocations: 55.67 kB / 430.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.3483, allocations: 1.224 MB / 432 MB, free: 5.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3483, allocations: 0 / 432 MB, free: 5.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3483, allocations: 0 / 432 MB, free: 5.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3483, allocations: 0 / 432 MB, free: 5.148 MB / 334.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.001567/0.3499, allocations: 0.5012 MB / 432.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/0.3499, allocations: 8.031 kB / 432.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.626e-05/0.35, allocations: 46.73 kB / 432.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.3501, allocations: 16.84 kB / 432.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.3505, allocations: 154.1 kB / 432.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.3505, allocations: 8 kB / 432.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/0.3506, allocations: 4 kB / 432.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.3509, allocations: 136.2 kB / 432.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.351, allocations: 0 / 432.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.351, allocations: 0 / 432.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.351, allocations: 4 kB / 432.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.3513, allocations: 59.89 kB / 432.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009794/0.3522, allocations: 355.6 kB / 433.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006514/0.3529, allocations: 130.5 kB / 433.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.3531, allocations: 49.02 kB / 433.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.3531, allocations: 3.938 kB / 433.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.3531, allocations: 30.56 kB / 433.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.3531, allocations: 0 / 433.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.003871/0.357, allocations: 0.9846 MB / 434.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.3571, allocations: 132.5 kB / 434.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.3574, allocations: 174.3 kB / 434.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.3574, allocations: 33.7 kB / 434.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.3576, allocations: 112.4 kB / 434.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.052e-05/0.3576, allocations: 55.55 kB / 435 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.3578, allocations: 41.7 kB / 435 MB, free: 1.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002276/0.358, allocations: 330.8 kB / 435.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.3583, allocations: 99.88 kB / 435.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.3587, allocations: 136.6 kB / 435.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/0.3594, allocations: 200.7 kB / 435.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.3594, allocations: 4 kB / 435.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001065/0.3604, allocations: 310.3 kB / 436.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.3605, allocations: 8 kB / 436.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.3605, allocations: 0 / 436.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003269/0.3608, allocations: 44.86 kB / 436.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.3611, allocations: 39.91 kB / 436.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.3635, allocations: 1.408 MB / 437.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.3637, allocations: 8.031 kB / 437.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.3637, allocations: 4 kB / 437.6 MB, free: 15.14 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.0002559/0.3639, allocations: 133.8 kB / 437.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/0.364, allocations: 20 kB / 437.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.986e-05/0.3641, allocations: 33.27 kB / 437.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.3641, allocations: 4 kB / 437.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3641, allocations: 4 kB / 437.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3641, allocations: 0 / 437.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/0.3646, allocations: 220.6 kB / 438 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3646, allocations: 0 / 438 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005475/0.3652, allocations: 51.91 kB / 438 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.3652, allocations: 4 kB / 438.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.3652, allocations: 3.938 kB / 438.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3652, allocations: 4 kB / 438.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3652, allocations: 0 / 438.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.3663, allocations: 418.3 kB / 438.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.3663, allocations: 15.94 kB / 438.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.3664, allocations: 7.938 kB / 438.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.3666, allocations: 4 kB / 438.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.3667, allocations: 7.984 kB / 438.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.3667, allocations: 12 kB / 438.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.3669, allocations: 132.2 kB / 438.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3669, allocations: 0 / 438.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002446/0.3693, allocations: 0.5116 MB / 439.2 MB, free: 13.52 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.003341/0.3727, allocations: 1.386 MB / 440.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.3739, allocations: 377.8 kB / 440.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3739, allocations: 0 / 440.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.3742, allocations: 87.81 kB / 441 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.3748, allocations: 36.03 kB / 441 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/0.3807, allocations: 2.449 MB / 443.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.3813, allocations: 0.7319 MB / 444.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.3814, allocations: 37.06 kB / 444.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.3816, allocations: 43.42 kB / 444.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3816, allocations: 0 / 444.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06411/0.4457, allocations: 10.07 MB / 454.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.06, allocations: 9.234 kB / 454.4 MB, free: 14.28 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[1] from file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[2] in file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[2] from file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[3] in file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[3] from file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.75272946900077]