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.001268/0.001268, allocations: 124.5 kB / 17.79 MB, free: 5.129 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.002343/0.002343, allocations: 210.5 kB / 20.75 MB, free: 2.176 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.443/1.443, allocations: 230.4 MB / 254 MB, free: 15.05 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.00188/0.00188, allocations: 59.89 kB / 373 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1113, allocations: 53.37 MB / 426.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002928/0.1143, allocations: 1.638 MB / 428 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2039/0.3182, allocations: 3.225 MB / 431.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.3183, allocations: 5.906 kB / 431.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.3187, allocations: 54.39 kB / 431.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.757e-05/0.3187, allocations: 13.12 kB / 431.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.3222, allocations: 1.425 MB / 432.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.3224, allocations: 143.7 kB / 432.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3225, allocations: 21.61 kB / 432.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.365e-05/0.3226, allocations: 53.89 kB / 432.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.123e-05/0.3227, allocations: 54.06 kB / 433 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.3227, allocations: 9 kB / 433 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.3245, allocations: 1.389 MB / 434.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.019e-05/0.3246, allocations: 40.89 kB / 434.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.162e-05/0.3247, allocations: 52.47 kB / 434.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.3262, allocations: 1.213 MB / 435.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3262, allocations: 0.6094 kB / 435.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3262, allocations: 0 / 435.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.3262, allocations: 0 / 435.7 MB, free: 7.453 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.001134/0.3273, allocations: 0.5651 MB / 436.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3274, allocations: 9.719 kB / 436.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.3274, allocations: 46.23 kB / 436.3 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.3275, allocations: 19.2 kB / 436.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.3277, allocations: 207 kB / 436.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3277, allocations: 6.469 kB / 436.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.3277, allocations: 11.75 kB / 436.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.328, allocations: 129 kB / 436.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.328, allocations: 4.938 kB / 436.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.328, allocations: 8.375 kB / 436.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.328, allocations: 5.625 kB / 436.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.3281, allocations: 58.09 kB / 436.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.3287, allocations: 382.6 kB / 437.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.329, allocations: 125.1 kB / 437.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.764e-05/0.3291, allocations: 45.61 kB / 437.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.3291, allocations: 1.375 kB / 437.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.3292, allocations: 34.73 kB / 437.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.3292, allocations: 0 / 437.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002056/0.3312, allocations: 1.217 MB / 438.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.3313, allocations: 131.7 kB / 438.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.3314, allocations: 185.3 kB / 438.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.3314, allocations: 30.03 kB / 438.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.3315, allocations: 113.5 kB / 439 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.3315, allocations: 52.95 kB / 439 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.3316, allocations: 44.47 kB / 439.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.282e-05/0.3317, allocations: 327.9 kB / 439.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.3318, allocations: 92.98 kB / 439.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.332, allocations: 141 kB / 439.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.3323, allocations: 204.3 kB / 439.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3323, allocations: 1.125 kB / 439.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005132/0.3328, allocations: 308 kB / 440.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3328, allocations: 7.109 kB / 440.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.3329, allocations: 5.156 kB / 440.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.333, allocations: 47.56 kB / 440.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.3332, allocations: 39.11 kB / 440.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000968/0.3342, allocations: 1.506 MB / 441.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.882e-05/0.3343, allocations: 9.578 kB / 441.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.3343, allocations: 9.328 kB / 441.7 MB, free: 3.141 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.0001084/0.3344, allocations: 135.6 kB / 441.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.3344, allocations: 18.22 kB / 441.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.3345, allocations: 26.09 kB / 441.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.3345, allocations: 2.156 kB / 441.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.3345, allocations: 0 / 441.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3345, allocations: 6.281 kB / 441.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.3347, allocations: 244.2 kB / 442.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3347, allocations: 0 / 442.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.335, allocations: 54.05 kB / 442.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.335, allocations: 1.031 kB / 442.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.335, allocations: 1.25 kB / 442.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.335, allocations: 2.875 kB / 442.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.335, allocations: 4 kB / 442.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.3355, allocations: 417.6 kB / 442.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.3355, allocations: 89.78 kB / 442.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.3355, allocations: 1.344 kB / 442.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3356, allocations: 9.859 kB / 442.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.3357, allocations: 11.25 kB / 442.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.3357, allocations: 11.3 kB / 442.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.674e-05/0.3358, allocations: 124.8 kB / 442.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3358, allocations: 0 / 442.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002484/0.3382, allocations: 0.5186 MB / 443.4 MB, free: 2.305 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.002059/0.3403, allocations: 1.377 MB / 444.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006301/0.3409, allocations: 371.2 kB / 445.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3409, allocations: 3.688 kB / 445.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.3411, allocations: 85.78 kB / 445.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.3414, allocations: 30.42 kB / 445.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.3443, allocations: 2.473 MB / 447.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.3446, allocations: 0.7296 MB / 448.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.3448, allocations: 28.98 kB / 448.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.05e-05/0.3448, allocations: 45.41 kB / 448.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3448, allocations: 4 kB / 448.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0428/0.3877, allocations: 9.875 MB / 458.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.808/10.2, allocations: 4.891 kB / 458.4 MB, free: 11.38 MB / 366.1 MB " [Timeout remaining time 650] (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: 12.73623114603106]