Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Filter.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.0009798/0.0009798, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004917/0.004917, allocations: 162.2 kB / 24.69 MB, free: 8.895 MB / 18.57 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 0.915/0.915, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.047e-05, allocations: 2.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002308/0.002328, allocations: 1.908 MB / 300.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1289/0.1312, allocations: 3.48 MB / 303.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002494/0.1314, allocations: 20.91 kB / 303.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004774/0.1319, allocations: 194.9 kB / 304 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.132, allocations: 47.58 kB / 304.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004448/0.1365, allocations: 2.038 MB / 306.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006657/0.1371, allocations: 0.5023 MB / 306.6 MB, free: 12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1373, allocations: 33.09 kB / 306.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.1376, allocations: 240.2 kB / 306.9 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.1378, allocations: 140.4 kB / 307 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.1378, allocations: 27.56 kB / 307 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/0.141, allocations: 1.859 MB / 308.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002679/0.1412, allocations: 124.6 kB / 309 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.1414, allocations: 103.8 kB / 309.1 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003404/0.1448, allocations: 2.094 MB / 311.2 MB, free: 10.61 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1448, allocations: 0 / 311.2 MB, free: 10.61 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1448, allocations: 0 / 311.2 MB, free: 10.61 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1448, allocations: 0 / 311.2 MB, free: 10.61 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002475/0.1473, allocations: 0.8361 MB / 312.1 MB, free: 10.08 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.1473, allocations: 9.516 kB / 312.1 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.978e-05/0.1474, allocations: 53.19 kB / 312.1 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.325e-05/0.1475, allocations: 50.64 kB / 312.2 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.1479, allocations: 283.6 kB / 312.4 MB, free: 9.793 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1479, allocations: 20.91 kB / 312.5 MB, free: 9.781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.148, allocations: 36.45 kB / 312.5 MB, free: 9.766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.1484, allocations: 0.6054 MB / 313.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1484, allocations: 0 / 313.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.1484, allocations: 10.69 kB / 313.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1484, allocations: 2.75 kB / 313.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.1486, allocations: 153.1 kB / 313.3 MB, free: 9.137 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008763/0.1495, allocations: 0.5982 MB / 313.9 MB, free: 8.766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/0.15, allocations: 310.2 kB / 314.2 MB, free: 8.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.1502, allocations: 106.5 kB / 314.3 MB, free: 8.621 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1502, allocations: 10.09 kB / 314.3 MB, free: 8.613 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1502, allocations: 38.16 kB / 314.3 MB, free: 8.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 3.045e-06/0.1502, allocations: 0 / 314.3 MB, free: 8.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006105/0.1508, allocations: 377.2 kB / 314.7 MB, free: 8.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.151, allocations: 365.6 kB / 315 MB, free: 7.992 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004768/0.1514, allocations: 412.6 kB / 315.5 MB, free: 7.797 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.1515, allocations: 33.36 kB / 315.5 MB, free: 7.762 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1516, allocations: 193.2 kB / 315.7 MB, free: 7.602 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.1516, allocations: 90.55 kB / 315.8 MB, free: 7.527 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.1517, allocations: 101.4 kB / 315.9 MB, free: 7.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.218e-05/0.1518, allocations: 357 kB / 316.2 MB, free: 7.148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.1521, allocations: 201.2 kB / 316.4 MB, free: 7.094 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.1525, allocations: 0.6169 MB / 317 MB, free: 6.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.153, allocations: 400.8 kB / 317.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.153, allocations: 0 / 317.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008309/0.1538, allocations: 0.6514 MB / 318.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.1538, allocations: 10.78 kB / 318.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/0.1539, allocations: 11.81 kB / 318.1 MB, free: 5.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003338/0.1542, allocations: 129.5 kB / 318.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.1544, allocations: 59.62 kB / 318.3 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.1564, allocations: 4.241 MB / 322.5 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.1566, allocations: 47.12 kB / 322.6 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.1566, allocations: 16.89 kB / 322.6 MB, free: 1.723 MB / 282.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.1568, allocations: 182.1 kB / 322.8 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.1569, allocations: 37.73 kB / 322.8 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.157, allocations: 44.56 kB / 322.8 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.157, allocations: 2.906 kB / 322.8 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.157, allocations: 0 / 322.8 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.157, allocations: 5.109 kB / 322.8 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.1572, allocations: 291.1 kB / 323.1 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.1573, allocations: 0 / 323.1 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.1574, allocations: 43.81 kB / 323.2 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1574, allocations: 7.938 kB / 323.2 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.1574, allocations: 12.84 kB / 323.2 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1574, allocations: 1.188 kB / 323.2 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1575, allocations: 0 / 323.2 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.1579, allocations: 0.5097 MB / 323.7 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.158, allocations: 42.94 kB / 323.7 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.158, allocations: 18.39 kB / 323.8 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.817e-05/0.1581, allocations: 14.59 kB / 323.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.1581, allocations: 21.41 kB / 323.8 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.1581, allocations: 4.375 kB / 323.8 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000186/0.1583, allocations: 278.6 kB / 324.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1583, allocations: 0 / 324.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003031/0.1614, allocations: 0.6436 MB / 324.7 MB, free: 0.6328 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.002975/0.1643, allocations: 1.742 MB / 326.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.1656, allocations: 0.9334 MB / 327.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1656, allocations: 1.312 kB / 327.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.1658, allocations: 122.6 kB / 327.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.1662, allocations: 100.7 kB / 327.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004963/0.1711, allocations: 4.472 MB / 332.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.1713, allocations: 241 kB / 332.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.1715, allocations: 62.94 kB / 332.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.1716, allocations: 136.4 kB / 332.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of SimCode: time 1.614e-06/0.1716, allocations: 0 / 332.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/0.2102, allocations: 18.39 MB / 350.9 MB, free: 8.68 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/7.897, allocations: 7.938 kB / 350.9 MB, free: 8.672 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_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_Filter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Butterworth.x[3] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable Butterworth.x[3] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[1] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[1] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[2] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[2] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable ChebyshevI.x[3] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable ChebyshevI.x[3] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[1] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[1] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[2] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[2] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! Error: Could not read variable CriticalDamping.x[3] in file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv. Warning: Get data of variable CriticalDamping.x[3] from file Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3],CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3] Variables in the result:time,Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2] [Calling sys.exit(0), Time elapsed: 9.73648829665035]