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.0008406/0.0008406, allocations: 83.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.003802/0.003802, allocations: 163.4 kB / 24.69 MB, free: 9.41 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.8746/0.8746, 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.533e-06/1.533e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.194e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002375/0.002397, allocations: 1.896 MB / 300.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.135/0.1374, allocations: 3.489 MB / 303.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.1377, allocations: 20.44 kB / 303.8 MB, free: 13.06 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.1382, allocations: 191.5 kB / 304 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.1384, allocations: 44.45 kB / 304.1 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005222/0.1436, allocations: 2.047 MB / 306.1 MB, free: 12.37 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007025/0.1443, allocations: 0.5022 MB / 306.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.1444, allocations: 33.09 kB / 306.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.1448, allocations: 239.4 kB / 306.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.1451, allocations: 142.8 kB / 307 MB, free: 12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.574e-05/0.1451, allocations: 22.28 kB / 307 MB, free: 12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/0.1483, allocations: 1.861 MB / 308.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.1485, allocations: 120.8 kB / 309 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.1487, allocations: 107.3 kB / 309.1 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.1516, allocations: 2.088 MB / 311.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1516, allocations: 3.438 kB / 311.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1516, allocations: 0 / 311.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.1516, allocations: 0 / 311.2 MB, free: 10.78 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.002235/0.1539, allocations: 0.8392 MB / 312.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.1539, allocations: 9.625 kB / 312.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.501e-05/0.154, allocations: 49.42 kB / 312.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.017e-05/0.1541, allocations: 50.61 kB / 312.2 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.1545, allocations: 291.5 kB / 312.4 MB, free: 9.949 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.1545, allocations: 18.91 kB / 312.5 MB, free: 9.941 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.787e-05/0.1546, allocations: 29.48 kB / 312.5 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.155, allocations: 0.605 MB / 313.1 MB, free: 9.355 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.155, allocations: 4 kB / 313.1 MB, free: 9.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.155, allocations: 11.31 kB / 313.1 MB, free: 9.344 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.155, allocations: 2.625 kB / 313.1 MB, free: 9.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.1552, allocations: 153.1 kB / 313.3 MB, free: 9.297 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008463/0.1561, allocations: 0.5876 MB / 313.9 MB, free: 8.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/0.1565, allocations: 321 kB / 314.2 MB, free: 8.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.1567, allocations: 100.1 kB / 314.3 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.1567, allocations: 6.188 kB / 314.3 MB, free: 8.781 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.1567, allocations: 44.2 kB / 314.3 MB, free: 8.734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.1567, allocations: 0 / 314.3 MB, free: 8.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.000543/0.1572, allocations: 376.6 kB / 314.7 MB, free: 8.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.1573, allocations: 367.8 kB / 315 MB, free: 8.156 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.1576, allocations: 411.4 kB / 315.4 MB, free: 7.961 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1576, allocations: 33.17 kB / 315.5 MB, free: 7.926 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/0.1577, allocations: 199 kB / 315.7 MB, free: 7.758 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.1578, allocations: 88.41 kB / 315.8 MB, free: 7.688 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.1579, allocations: 100.1 kB / 315.9 MB, free: 7.641 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.437e-05/0.158, allocations: 352.4 kB / 316.2 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.1583, allocations: 208.9 kB / 316.4 MB, free: 7.242 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.1586, allocations: 0.6117 MB / 317 MB, free: 6.652 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.159, allocations: 400.8 kB / 317.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.159, allocations: 0 / 317.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007441/0.1597, allocations: 0.6464 MB / 318.1 MB, free: 6.125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.1597, allocations: 19.84 kB / 318.1 MB, free: 6.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.1598, allocations: 9.516 kB / 318.1 MB, free: 6.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00029/0.16, allocations: 130.7 kB / 318.2 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.1602, allocations: 59.16 kB / 318.3 MB, free: 6.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.1619, allocations: 4.241 MB / 322.5 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.162, allocations: 44.75 kB / 322.6 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.162, allocations: 23.91 kB / 322.6 MB, free: 1.848 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.0001583/0.1622, allocations: 174.4 kB / 322.7 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.1622, allocations: 38.39 kB / 322.8 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.1623, allocations: 41.56 kB / 322.8 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1623, allocations: 10.31 kB / 322.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1623, allocations: 0 / 322.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1623, allocations: 5.141 kB / 322.8 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.1625, allocations: 295.2 kB / 323.1 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1625, allocations: 0 / 323.1 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1627, allocations: 43.41 kB / 323.2 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1627, allocations: 1.062 kB / 323.2 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.1627, allocations: 9.5 kB / 323.2 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1627, allocations: 1.062 kB / 323.2 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1627, allocations: 0 / 323.2 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.1631, allocations: 0.5101 MB / 323.7 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.1631, allocations: 42.53 kB / 323.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.1632, allocations: 14.23 kB / 323.7 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.1633, allocations: 18.64 kB / 323.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.1633, allocations: 24.41 kB / 323.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.1633, allocations: 8.531 kB / 323.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001765/0.1635, allocations: 269.6 kB / 324.1 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1635, allocations: 1.344 kB / 324.1 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002833/0.1663, allocations: 0.647 MB / 324.7 MB, free: 0.7656 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.002147/0.1685, allocations: 1.751 MB / 326.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.1698, allocations: 0.9295 MB / 327.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.1698, allocations: 2.156 kB / 327.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.17, allocations: 120.2 kB / 327.5 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.1704, allocations: 109.7 kB / 327.6 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00467/0.175, allocations: 4.469 MB / 332.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.1752, allocations: 241 kB / 332.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001871/0.1754, allocations: 66.94 kB / 332.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.1755, allocations: 132.5 kB / 332.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1755, allocations: 3.938 kB / 332.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.2118, allocations: 18.38 MB / 350.9 MB, free: 8.809 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.313/7.525, allocations: 15.94 kB / 350.9 MB, free: 8.793 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.190195745788515]