Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.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.0009084/0.0009084, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000927/0.000927, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9424/0.9424, allocations: 173.4 MB / 200.5 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.277e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002537/0.002559, allocations: 1.742 MB / 320.2 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004594/0.007153, allocations: 3.281 MB / 323.4 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.007319, allocations: 15.81 kB / 323.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000485/0.007804, allocations: 139.2 kB / 323.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.139e-05/0.007896, allocations: 47.59 kB / 323.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003988/0.01188, allocations: 1.867 MB / 325.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.01224, allocations: 315.1 kB / 325.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.01238, allocations: 20.92 kB / 325.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.01255, allocations: 151.6 kB / 326 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.01266, allocations: 83.72 kB / 326.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.01269, allocations: 16 kB / 326.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.01295, allocations: 175.6 kB / 326.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.9e-05/0.01305, allocations: 71.69 kB / 326.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.01311, allocations: 63.77 kB / 326.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.01345, allocations: 358.8 kB / 326.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.01346, allocations: 0 / 326.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.01346, allocations: 0 / 326.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.01347, allocations: 0 / 326.7 MB, free: 14.02 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006672/0.01413, allocations: 0.5085 MB / 327.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.01418, allocations: 12.92 kB / 327.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.01422, allocations: 42.73 kB / 327.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.01427, allocations: 28.75 kB / 327.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.01462, allocations: 229.8 kB / 327.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.01463, allocations: 12.12 kB / 327.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.01467, allocations: 16 kB / 327.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.01503, allocations: 429.5 kB / 328 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.01503, allocations: 7.875 kB / 328 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.01505, allocations: 12 kB / 328 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.01506, allocations: 0 / 328 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.01519, allocations: 87.88 kB / 328.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/0.01579, allocations: 439.7 kB / 328.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.016, allocations: 166.5 kB / 328.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.103e-05/0.01607, allocations: 48.83 kB / 328.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.01609, allocations: 4 kB / 328.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.01612, allocations: 38.67 kB / 328.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 3.046e-06/0.01612, allocations: 7.938 kB / 328.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003849/0.01651, allocations: 221.4 kB / 329 MB, free: 11.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.01661, allocations: 290.7 kB / 329.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.0168, allocations: 288.5 kB / 329.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.01682, allocations: 33.7 kB / 329.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.0169, allocations: 152.5 kB / 329.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.01693, allocations: 55.53 kB / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.01699, allocations: 53.7 kB / 329.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.0171, allocations: 346.8 kB / 330.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.01723, allocations: 99.94 kB / 330.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.01745, allocations: 407.8 kB / 330.7 MB, free: 9.648 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.01766, allocations: 213.5 kB / 330.9 MB, free: 9.438 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.01766, allocations: 0 / 330.9 MB, free: 9.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002961/0.01796, allocations: 305.4 kB / 331.2 MB, free: 9.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.01797, allocations: 4 kB / 331.2 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.01799, allocations: 4 kB / 331.2 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.018, allocations: 0 / 331.2 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.01816, allocations: 59.91 kB / 331.3 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.01816, allocations: 3.938 kB / 331.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.737e-05/0.01822, allocations: 23.83 kB / 331.3 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.01824, allocations: 8 kB / 331.3 MB, free: 9.031 MB / 298.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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.01834, allocations: 146.4 kB / 331.5 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.01837, allocations: 27.84 kB / 331.5 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.01841, allocations: 29.92 kB / 331.5 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01841, allocations: 3.984 kB / 331.5 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.01842, allocations: 7.938 kB / 331.5 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01842, allocations: 7.984 kB / 331.5 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.01889, allocations: 224.6 kB / 331.7 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01889, allocations: 4 kB / 331.7 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.01899, allocations: 23.98 kB / 331.8 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.01899, allocations: 4.078 kB / 331.8 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.01901, allocations: 7.938 kB / 331.8 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01901, allocations: 0 / 331.8 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.01901, allocations: 3.938 kB / 331.8 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.01932, allocations: 331.2 kB / 332.1 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.01934, allocations: 27.88 kB / 332.1 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.01936, allocations: 11.92 kB / 332.2 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.01943, allocations: 12 kB / 332.2 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.01946, allocations: 11.92 kB / 332.2 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.01946, allocations: 4 kB / 332.2 MB, free: 8.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001131/0.01958, allocations: 199.1 kB / 332.4 MB, free: 7.898 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01958, allocations: 0 / 332.4 MB, free: 7.898 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002484/0.01983, allocations: 79.86 kB / 332.5 MB, free: 7.82 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.0005842/0.02041, allocations: 0.9034 MB / 333.4 MB, free: 6.891 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.02069, allocations: 277.4 kB / 333.6 MB, free: 6.602 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.0207, allocations: 0 / 333.6 MB, free: 6.602 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.73e-05/0.02076, allocations: 63.41 kB / 333.7 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.02106, allocations: 75.91 kB / 333.8 MB, free: 6.469 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.02336, allocations: 2.768 MB / 336.5 MB, free: 3.613 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.02348, allocations: 157.8 kB / 336.7 MB, free: 3.438 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000113/0.02359, allocations: 54.14 kB / 336.7 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/0.02369, allocations: 84.47 kB / 336.8 MB, free: 3.305 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02369, allocations: 0 / 336.8 MB, free: 3.305 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.05094, allocations: 7.533 MB / 344.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.979/7.03, allocations: 13.98 kB / 344.4 MB, free: 11.94 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable filter_fac5.x[2] in file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv. Warning: Get data of variable filter_fac5.x[2] from file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,filter_fac3.x[1],filter_fac3.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac5.x[1],filter_fac5.x[2] Variables in the result:time,filter_fac3.x[1],filter_fac3.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac5.x[1] [Calling sys.exit(0), Time elapsed: 8.95615102071315]