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.001957/0.001957, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002625/0.002625, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 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 1.589/1.589, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 59.92 kB / 347.2 MB, free: 9.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2913, allocations: 49.15 MB / 396.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002714/0.294, allocations: 1.571 MB / 397.9 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005163/0.2991, allocations: 2.99 MB / 400.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.2993, allocations: 5 kB / 400.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.2996, allocations: 62.84 kB / 401 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.554e-05/0.2997, allocations: 11.66 kB / 401 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004514/0.3042, allocations: 1.468 MB / 402.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.3045, allocations: 151 kB / 402.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.3046, allocations: 15.3 kB / 402.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.843e-05/0.3047, allocations: 57.22 kB / 402.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.608e-05/0.3048, allocations: 53.92 kB / 402.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.3048, allocations: 8.031 kB / 402.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.3068, allocations: 1.423 MB / 404.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.749e-05/0.3068, allocations: 37.72 kB / 404.2 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.3069, allocations: 39.36 kB / 404.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.3081, allocations: 1.219 MB / 405.4 MB, free: 4.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3082, allocations: 4 kB / 405.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3082, allocations: 0 / 405.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3082, allocations: 1.469 kB / 405.4 MB, free: 4.719 MB / 318.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.000922/0.3091, allocations: 0.4974 MB / 405.9 MB, free: 4.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3091, allocations: 13.58 kB / 406 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.3092, allocations: 39.14 kB / 406 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.3092, allocations: 16.47 kB / 406 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.3094, allocations: 146.4 kB / 406.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.3094, allocations: 12.5 kB / 406.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.3095, allocations: 18.28 kB / 406.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.3097, allocations: 206.3 kB / 406.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3097, allocations: 1.344 kB / 406.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.3098, allocations: 4 kB / 406.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3098, allocations: 2.844 kB / 406.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.3099, allocations: 57.97 kB / 406.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.3104, allocations: 335.2 kB / 406.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.3107, allocations: 123.4 kB / 406.9 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.546e-05/0.3108, allocations: 42.38 kB / 406.9 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.3108, allocations: 6.094 kB / 406.9 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.3108, allocations: 32.94 kB / 407 MB, free: 3.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.3108, allocations: 0 / 407 MB, free: 3.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001854/0.3127, allocations: 1.003 MB / 408 MB, free: 2.922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.3127, allocations: 135.1 kB / 408.1 MB, free: 2.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3129, allocations: 174.8 kB / 408.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.3129, allocations: 27.23 kB / 408.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.3129, allocations: 114.9 kB / 408.4 MB, free: 2.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.3129, allocations: 58.22 kB / 408.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.313, allocations: 52.58 kB / 408.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.3131, allocations: 323.1 kB / 408.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.3132, allocations: 97.44 kB / 408.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.3134, allocations: 209 kB / 409.1 MB, free: 1.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.3136, allocations: 202.9 kB / 409.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3136, allocations: 5 kB / 409.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000449/0.3141, allocations: 301.4 kB / 409.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3141, allocations: 4.594 kB / 409.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.3141, allocations: 6.125 kB / 409.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.3143, allocations: 44.88 kB / 409.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3144, allocations: 32.86 kB / 409.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008368/0.3153, allocations: 1.409 MB / 411.1 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.202e-05/0.3153, allocations: 8.219 kB / 411.1 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.3154, allocations: 16.08 kB / 411.2 MB, free: 140 kB / 318.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 8.867e-05/0.3155, allocations: 135.5 kB / 411.3 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.3155, allocations: 18.33 kB / 411.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.121e-05/0.3156, allocations: 20.28 kB / 411.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3156, allocations: 1.188 kB / 411.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3156, allocations: 3.938 kB / 411.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3156, allocations: 1.094 kB / 411.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.3158, allocations: 197.1 kB / 411.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3158, allocations: 0 / 411.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.3161, allocations: 68.08 kB / 411.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3161, allocations: 1.312 kB / 411.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3161, allocations: 0.9375 kB / 411.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3161, allocations: 1.125 kB / 411.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3161, allocations: 3.938 kB / 411.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005272/0.3167, allocations: 412.9 kB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.3167, allocations: 11.19 kB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.3167, allocations: 3.281 kB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.3168, allocations: 11.98 kB / 412 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.3169, allocations: 18.53 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3169, allocations: 2.656 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.949e-05/0.317, allocations: 132.7 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.317, allocations: 0 / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002305/0.3193, allocations: 0.5143 MB / 412.7 MB, free: 15.31 MB / 334.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.002228/0.3215, allocations: 1.383 MB / 414.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006873/0.3222, allocations: 383.3 kB / 414.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3222, allocations: 0 / 414.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.3223, allocations: 86.58 kB / 414.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.3227, allocations: 36.42 kB / 414.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.3261, allocations: 2.46 MB / 417 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.3262, allocations: 119.9 kB / 417.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.3263, allocations: 32.48 kB / 417.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/0.3264, allocations: 44.08 kB / 417.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3264, allocations: 0 / 417.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04552/0.372, allocations: 10.53 MB / 427.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.09, allocations: 7.812 kB / 427.8 MB, free: 2.945 MB / 334.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/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: 14.918358616996557]