Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.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.001313/0.001313, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 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.001505/0.001505, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 47.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1238, allocations: 53.34 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003501/0.1273, allocations: 1.844 MB / 428.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2424/0.3697, allocations: 3.572 MB / 431.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.3699, allocations: 13.72 kB / 431.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000502/0.3704, allocations: 134.5 kB / 431.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.3705, allocations: 38.44 kB / 431.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004847/0.3753, allocations: 1.769 MB / 433.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004629/0.3758, allocations: 305.3 kB / 434 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.3759, allocations: 25.39 kB / 434 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.3762, allocations: 122.8 kB / 434.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.3763, allocations: 106.3 kB / 434.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.3764, allocations: 12.84 kB / 434.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002709/0.3766, allocations: 155 kB / 434.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.3767, allocations: 73.67 kB / 434.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.563e-05/0.3768, allocations: 98.02 kB / 434.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.3774, allocations: 345.2 kB / 434.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.3774, allocations: 1.5 kB / 434.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3774, allocations: 0 / 434.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3774, allocations: 0 / 434.9 MB, free: 7.316 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008543/0.3782, allocations: 0.5847 MB / 435.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.3783, allocations: 9.719 kB / 435.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.701e-05/0.3783, allocations: 45.36 kB / 435.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/0.3784, allocations: 32.41 kB / 435.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.3788, allocations: 287.5 kB / 435.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3788, allocations: 16.91 kB / 435.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.3789, allocations: 21.98 kB / 435.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.3792, allocations: 205 kB / 436.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3792, allocations: 0 / 436.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.3792, allocations: 6.031 kB / 436.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3792, allocations: 4 kB / 436.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.3794, allocations: 89.02 kB / 436.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/0.3802, allocations: 496.3 kB / 436.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.3805, allocations: 163.8 kB / 436.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.3806, allocations: 57.22 kB / 436.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.3806, allocations: 4.375 kB / 436.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.3806, allocations: 36.11 kB / 436.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.173e-06/0.3806, allocations: 4 kB / 436.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004628/0.3811, allocations: 216 kB / 437.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.248e-05/0.3812, allocations: 290.2 kB / 437.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.3815, allocations: 282.6 kB / 437.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.3815, allocations: 30.58 kB / 437.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3816, allocations: 158.9 kB / 437.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.3817, allocations: 49.94 kB / 437.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.3818, allocations: 60.89 kB / 438 MB, free: 5.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.3819, allocations: 346.6 kB / 438.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.3821, allocations: 101.1 kB / 438.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.3823, allocations: 179 kB / 438.6 MB, free: 4.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.3827, allocations: 218.4 kB / 438.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3827, allocations: 0 / 438.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004813/0.3832, allocations: 301 kB / 439.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3832, allocations: 6.297 kB / 439.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/0.3832, allocations: 4.391 kB / 439.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3832, allocations: 1.875 kB / 439.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.3835, allocations: 47.19 kB / 439.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3835, allocations: 5.672 kB / 439.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.3836, allocations: 39.73 kB / 439.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.3836, allocations: 6.172 kB / 439.2 MB, free: 4.719 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 (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.0001148/0.3837, allocations: 147.8 kB / 439.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.3838, allocations: 27.2 kB / 439.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.878e-05/0.3839, allocations: 27.41 kB / 439.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3839, allocations: 3.031 kB / 439.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.3839, allocations: 0 / 439.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3839, allocations: 6.031 kB / 439.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.3842, allocations: 267.2 kB / 439.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3842, allocations: 4 kB / 439.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.3843, allocations: 27.39 kB / 439.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3843, allocations: 2.625 kB / 439.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.3844, allocations: 8.453 kB / 439.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.3844, allocations: 1.875 kB / 439.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3844, allocations: 0 / 439.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.3848, allocations: 341.1 kB / 440.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.3849, allocations: 105 kB / 440.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.3849, allocations: 9.203 kB / 440.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.385, allocations: 7 kB / 440.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.3851, allocations: 11.23 kB / 440.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3851, allocations: 7.312 kB / 440.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001789/0.3852, allocations: 193.7 kB / 440.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3852, allocations: 0 / 440.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004184/0.3857, allocations: 82.91 kB / 440.5 MB, free: 3.855 MB / 350.1 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.0007195/0.3864, allocations: 0.9096 MB / 441.4 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.3869, allocations: 272.7 kB / 441.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3869, allocations: 1.25 kB / 441.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.387, allocations: 65.08 kB / 441.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.3875, allocations: 80.06 kB / 441.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.391, allocations: 2.781 MB / 444.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.3913, allocations: 0.7742 MB / 445.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.3915, allocations: 49.36 kB / 445.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.3916, allocations: 81.34 kB / 445.5 MB, free: 448 kB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3916, allocations: 4 kB / 445.5 MB, free: 444 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03348/0.425, allocations: 6.558 MB / 452 MB, free: 14.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.613, allocations: 9.875 kB / 452 MB, free: 14.94 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv. Warning: Get data of variable filter_fac5.x[2] from file Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.265016684003058]